共用方式為


KeyEvent.KeycodeStylusButtonPrimary Field

Definition

Caution

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

Key code constant: The primary button on the barrel of a stylus.

[Android.Runtime.Register("KEYCODE_STYLUS_BUTTON_PRIMARY", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.Keycode enum directly instead of this field.", true)]
public const Android.Views.Keycode KeycodeStylusButtonPrimary = 308;
[<Android.Runtime.Register("KEYCODE_STYLUS_BUTTON_PRIMARY", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.Keycode enum directly instead of this field.", true)>]
val mutable KeycodeStylusButtonPrimary : Android.Views.Keycode

Field Value

Value = 308

Implements

Attributes

Remarks

Key code constant: The primary button on the barrel of a stylus. This is usually the button closest to the tip of the stylus.

Java documentation for android.view.KeyEvent.KEYCODE_STYLUS_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.

Applies to