VerifiedKeyEvent.GetFlag(Int32) Method

Definition

Get a specific flag of this key 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(true) if the key event has the requested flag Boolean(false) if the key event does not have the requested flag null if the flag value could not be checked

Attributes

Remarks

Get a specific flag of this key event, if possible. Return null if the flag value could not be checked.

Java documentation for android.view.VerifiedKeyEvent.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