DevicePolicyManager.LockTaskFeatureNotifications Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Android.App.Admin.LockTaskFeatures enum directly instead of this field.
Enable notifications during LockTask mode.
[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
Field Value
Value = 2- Attributes
Remarks
Enable notifications during LockTask mode. This includes notification icons on the status bar, heads-up notifications, and the expandable notification shade. Note that the Quick Settings panel remains disabled. This feature flag can only be used in combination with #LOCK_TASK_FEATURE_HOME
. #setLockTaskFeatures(ComponentName, int)
throws an IllegalArgumentException
if this feature flag is defined without #LOCK_TASK_FEATURE_HOME
.
Java documentation for android.app.admin.DevicePolicyManager.LOCK_TASK_FEATURE_NOTIFICATIONS
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.