VerifiedMotionEvent.GetFlag(Int32) Method

Definition

Get a specific flag of this motion event, if possible.

[Android.Runtime.Register("getFlag", "(I)Ljava/lang/Boolean;", "", ApiSince=30)]
public Java.Lang.Boolean? GetFlag (int flag);
[<Android.Runtime.Register("getFlag", "(I)Ljava/lang/Boolean;", "", ApiSince=30)>]
member this.GetFlag : int -> Java.Lang.Boolean

Parameters

flag
Int32

the flag of interest

Returns

Boolean

Boolean(true) if the motion event has the requested flag Boolean(false) if the motion event does not have the requested flag null if the flag value could not be checked

Attributes

Remarks

Java documentation for android.view.VerifiedMotionEvent.getFlag(int).

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