DevicePolicyManager.LockTaskFeatureGlobalActions フィールド

定義

注意事項

This constant will be removed in the future version. Use Android.App.Admin.LockTaskFeatures enum directly instead of this field.

LockTask モード中にグローバル アクション ダイアログを有効にします。

[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
属性

注釈

LockTask モード中にグローバル アクション ダイアログを有効にします。 これは、たとえば、ユーザーが電源ボタンを長押ししたときに表示されるダイアログです。 このフラグが設定されていない場合、ユーザーはデバイスの電源をオフにできない可能性があることに注意してください。

このフラグは、 が初めて呼び出されるまで #setLockTaskFeatures(ComponentName, int) 、既定で有効になります。

の Java ドキュメント android.app.admin.DevicePolicyManager.LOCK_TASK_FEATURE_GLOBAL_ACTIONS

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象