Sprache

DevicePolicyManager.LockTaskFeatureHome Feld

Definition

Achtung

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

Aktivieren Sie die Schaltfläche "Start" im LockTask-Modus.

[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

Feldwert

Value = 4
Attribute

Hinweise

Aktivieren Sie die Schaltfläche "Start" im LockTask-Modus. Beachten Sie, dass ein benutzerdefiniertes Startprogramm, wenn ein benutzerdefiniertes Startfeld verwendet wird, als Standardstartprogramm registriert #addPersistentPreferredActivity(ComponentName, IntentFilter, ComponentName)werden muss, und das Paket muss für LockTask mit #setLockTaskPackages(ComponentName, String[])zugelassen werden.

Java Dokumentation für android.app.admin.DevicePolicyManager.LOCK_TASK_FEATURE_HOME.

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: