Android.Views.MotionEvent.IsButtonPressed Method
Checks if a mouse or stylus button (or combination of buttons) is pressed.

Syntax

[Android.Runtime.Register("isButtonPressed", "(I)Z", "")]
public bool IsButtonPressed ([Android.Runtime.GeneratedEnum] MotionEventButtonState button)

See Also

MotionEvent.ButtonPrimary
MotionEvent.ButtonSecondary
MotionEvent.ButtonTertiary
MotionEvent.ButtonForward
MotionEvent.ButtonBack

Parameters

button
Button (or combination of buttons).

Returns

Documentation for this section has not yet been entered.

Remarks

Checks if a mouse or stylus button (or combination of buttons) is pressed.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1