VerifiedMotionEvent.ButtonState Property

Definition

The state of all buttons that are pressed such as a mouse or stylus button.

public int ButtonState { [Android.Runtime.Register("getButtonState", "()I", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getButtonState", "()I", "", ApiSince=30)>]
member this.ButtonState : int

Property Value

Attributes

Remarks

The state of all buttons that are pressed such as a mouse or stylus button.

Java documentation for android.view.VerifiedMotionEvent.getButtonState().

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