Share via


AccessibilityService.GlobalActionKeycodeHeadsethook Field

Definition

Caution

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

Action to send the KEYCODE_HEADSETHOOK KeyEvent, which is used to answer/hang up calls and play/stop media

[Android.Runtime.Register("GLOBAL_ACTION_KEYCODE_HEADSETHOOK", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.AccessibilityServices.GlobalAction enum directly instead of this field.", true)]
public const Android.AccessibilityServices.GlobalAction GlobalActionKeycodeHeadsethook = 10;
[<Android.Runtime.Register("GLOBAL_ACTION_KEYCODE_HEADSETHOOK", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.AccessibilityServices.GlobalAction enum directly instead of this field.", true)>]
val mutable GlobalActionKeycodeHeadsethook : Android.AccessibilityServices.GlobalAction

Field Value

Value = 10
Attributes

Remarks

Action to send the KEYCODE_HEADSETHOOK KeyEvent, which is used to answer/hang up calls and play/stop media

Java documentation for android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_KEYCODE_HEADSETHOOK.

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