共用方式為


MotionEvent.ButtonStylusPrimary Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.MotionEventButtonState enum directly instead of this field.

Button constant: Primary stylus button pressed.

[Android.Runtime.Register("BUTTON_STYLUS_PRIMARY", ApiSince=23)]
[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 ButtonStylusPrimary = 32;
[<Android.Runtime.Register("BUTTON_STYLUS_PRIMARY", ApiSince=23)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.MotionEventButtonState enum directly instead of this field.", true)>]
val mutable ButtonStylusPrimary : Android.Views.MotionEventButtonState

Field Value

Value = 32

Implements

Attributes

Remarks

Button constant: Primary stylus button pressed.

Java documentation for android.view.MotionEvent.BUTTON_STYLUS_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.

Applies to