MotionEvent.ActionToString(MotionEventActions) MotionEvent.ActionToString(MotionEventActions) Method

Definition

Returns a string that represents the symbolic name of the specified unmasked action such as "ACTION_DOWN", "ACTION_POINTER_DOWN(3)" or an equivalent numeric constant such as "35" if unknown.

[Android.Runtime.Register("actionToString", "(I)Ljava/lang/String;", "", ApiSince=19)]
public static string ActionToString (Android.Views.MotionEventActions action);
static member ActionToString : Android.Views.MotionEventActions -> string

Parameters

action
MotionEventActions MotionEventActions

The unmasked action.

Returns

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also