DevicePolicyManager.LockTaskFeatureGlobalActions 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.App.Admin.LockTaskFeatures enum directly instead of this field.
在鎖定任務模式下啟用全域動作對話框。
[Android.Runtime.Register("LOCK_TASK_FEATURE_GLOBAL_ACTIONS", ApiSince=28)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.LockTaskFeatures enum directly instead of this field.", true)]
public const Android.App.Admin.LockTaskFeatures LockTaskFeatureGlobalActions = 16;
[<Android.Runtime.Register("LOCK_TASK_FEATURE_GLOBAL_ACTIONS", ApiSince=28)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.LockTaskFeatures enum directly instead of this field.", true)>]
val mutable LockTaskFeatureGlobalActions : Android.App.Admin.LockTaskFeatures
欄位值
Value = 16- 屬性
備註
在鎖定任務模式下啟用全域動作對話框。 例如,當使用者長按電源鍵時,會出現這個對話框。 請注意,若未設定此標誌,使用者可能無法關閉裝置電源。
此旗標預設啟用,直到 #setLockTaskFeatures(ComponentName, int) 第一次被呼叫為止。
Java 文件 android.app.admin.DevicePolicyManager.LOCK_TASK_FEATURE_GLOBAL_ACTIONS。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。