Condividi tramite


KeyEvent.Action Property

Definition

Retrieve the action of this key event.

public Android.Views.KeyEventActions Action { [Android.Runtime.Register("getAction", "()I", "")] get; }
[<get: Android.Runtime.Register("getAction", "()I", "")>]
member this.Action : Android.Views.KeyEventActions

Property Value

The event action: ACTION_DOWN, ACTION_UP, or ACTION_MULTIPLE.

Attributes

Remarks

Retrieve the action of this key event. May be either #ACTION_DOWN, #ACTION_UP, or #ACTION_MULTIPLE.

Java documentation for android.view.KeyEvent.getAction().

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