Lenguaje

DevicePolicyManager.LockTaskFeatureHome Campo

Definición

Precaución

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

Habilite el botón Inicio durante el modo 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

Valor de campo

Value = 4
Atributos

Comentarios

Habilite el botón Inicio durante el modo LockTask. Tenga en cuenta que si se usa un iniciador personalizado, debe registrarse como iniciador predeterminado con #addPersistentPreferredActivity(ComponentName, IntentFilter, ComponentName)y su paquete debe incluirse en la lista de permitidos para LockTask con #setLockTaskPackages(ComponentName, String[]).

Java documentación para android.app.admin.DevicePolicyManager.LOCK_TASK_FEATURE_HOME.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a