MotionEvent.ButtonPrimary Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Android.Views.MotionEventButtonState enum directly instead of this field.
Button constant: Primary button (left mouse button).
[Android.Runtime.Register("BUTTON_PRIMARY")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.MotionEventButtonState enum directly instead of this field.", true)]
public const Android.Views.MotionEventButtonState ButtonPrimary = 1;
[<Android.Runtime.Register("BUTTON_PRIMARY")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.MotionEventButtonState enum directly instead of this field.", true)>]
val mutable ButtonPrimary : Android.Views.MotionEventButtonState
Field Value
Value = 1Implements
- Attributes
Remarks
Button 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.
Java documentation for android.view.MotionEvent.BUTTON_PRIMARY
.
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.