Share via


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)として登録する必要があり、そのパッケージは を使用して LockTask #setLockTaskPackages(ComponentName, String[])の許可リストに登録する必要があることに注意してください。

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

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

適用対象