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。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。