DevicePolicyManager.LockTaskFeatureNotifications 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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_NOTIFICATIONS", 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 LockTaskFeatureNotifications = 2;
[<Android.Runtime.Register("LOCK_TASK_FEATURE_NOTIFICATIONS", 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 LockTaskFeatureNotifications : Android.App.Admin.LockTaskFeatures
欄位值
Value = 2- 屬性
備註
在 LockTask 模式下啟用通知。 這包括狀態列上的通知圖示、抬頭通知,以及可展開的通知欄。 請注意,快速設定面板仍然關閉。 此特徵標誌只能與 結合 #LOCK_TASK_FEATURE_HOME使用。
#setLockTaskFeatures(ComponentName, int)若此特徵旗標未#LOCK_TASK_FEATURE_HOME定義 ,則拋出 。IllegalArgumentException
Java 文件 android.app.admin.DevicePolicyManager.LOCK_TASK_FEATURE_NOTIFICATIONS。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。