Android.Views.MotionEventButtonState Enumeration
Enumerates values returned by several types and taken as a parameter of the MotionEvent.IsButtonPressed, and MotionEvent.Obtain members.

Syntax

public enum MotionEventButtonState

Remarks

Enumerates values returned by the following: and taken as a parameter of the MotionEvent.IsButtonPressed, and MotionEvent.Obtain members.

Members

Member NameDescription
Back

Button constant: Back button pressed (mouse back button).

The system may send a Keycode.Back key press to the application when this button is pressed.

Forward

Button constant: Forward button pressed (mouse forward button).

The system may send a Keycode.Forward key press to the application when this button is pressed.

PrimaryButton constant: Primary button (left mouse button). This button constant is not set in response to simple touches with a finger or stylus tip. The user must actually push a button.
SecondaryButton constant: Secondary button (right mouse button, stylus first button).
TertiaryButton constant: Tertiary button (middle mouse button, stylus second button).

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0