語言

DevicePolicyManager.LockTaskFeatureNotifications 欄位

定義

警告

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 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於