Language

DevicePolicyManager.LockTaskFeatureHome フィールド

定義

注意事項

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_HOME", 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 LockTaskFeatureHome = 4;
[<Android.Runtime.Register("LOCK_TASK_FEATURE_HOME", 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 LockTaskFeatureHome : Android.App.Admin.LockTaskFeatures

フィールド値

Value = 4
属性

注釈

LockTask モード中に [ホーム] ボタンを有効にします。 カスタムランチャーを使用する場合は、 #addPersistentPreferredActivity(ComponentName, IntentFilter, ComponentName)を使用して既定のランチャーとして登録する必要があり、そのパッケージは、 #setLockTaskPackages(ComponentName, String[])を使用して LockTask の許可リストに登録する必要があることに注意してください。

Javaドキュメント。

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

適用対象