AccessibilityService.GlobalActionKeycodeHeadsethook 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.AccessibilityServices.GlobalAction enum directly instead of this field.
发送KEYCODE_HEADSETHOOK KeyEvent 的操作,该密钥用于应答和挂断呼叫以及播放和停止媒体。
[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
字段值
Value = 10- 属性
注解
发送KEYCODE_HEADSETHOOK KeyEvent 的操作,该密钥用于应答和挂断呼叫以及播放和停止媒体。 呼叫优先。 如果有传入呼叫,则可以使用此操作来应答该呼叫,如果有正在进行的呼叫,则可以在该呼叫上挂断。
Java文档android.accessibilityservice.AccessibilityService.GLOBAL_ACTION_KEYCODE_HEADSETHOOK。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。