DevicePolicyManager.LockTaskFeatureHome 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.App.Admin.LockTaskFeatures enum directly instead of this field.
在 LockTask 模式下啟用 Home 鍵。
[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 模式下啟用 Home 鍵。 請注意,若使用自訂啟動器,必須將其註冊為預設啟動器,#addPersistentPreferredActivity(ComponentName, IntentFilter, ComponentName)且其套件需被允許列入 LockTask 中。#setLockTaskPackages(ComponentName, String[])
Java 文件 android.app.admin.DevicePolicyManager.LOCK_TASK_FEATURE_HOME。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。