Sdílet prostřednictvím


MotionEvent.ActionButton Property

Definition

Gets which button has been modified during a press or release action.

public Android.Views.MotionEventButtonState ActionButton { [Android.Runtime.Register("getActionButton", "()I", "", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getActionButton", "()I", "", ApiSince=23)>]
member this.ActionButton : Android.Views.MotionEventButtonState

Property Value

Attributes

Remarks

Gets which button has been modified during a press or release action.

For actions other than #ACTION_BUTTON_PRESS and #ACTION_BUTTON_RELEASE the returned value is undefined.

Java documentation for android.view.MotionEvent.getActionButton().

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