AccessibilityService.GlobalActionKeycodeHeadsethook Campo

Definición

Precaución

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

Acción para enviar el KEYCODE_HEADSETHOOK KeyEvent, que se usa para responder y bloquear llamadas y reproducir y detener medios.

[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

Valor de campo

Value = 10
Atributos

Comentarios

Acción para enviar el KEYCODE_HEADSETHOOK KeyEvent, que se usa para responder y bloquear llamadas y reproducir y detener medios. La llamada tiene prioridad. Si hay una llamada entrante, esta acción se puede usar para responder a esa llamada y, si hay una llamada en curso, para colgar esa llamada.

Java documentación para android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_KEYCODE_HEADSETHOOK.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a