語言

DevicePolicyManager.LockTaskFeatureGlobalActions 欄位

定義

警告

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 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於