言語

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ドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象