次の方法で共有


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) は、 IllegalArgumentException この機能フラグが定義されている場合は 〫をスローします #LOCK_TASK_FEATURE_HOME

の Java ドキュメントandroid.app.admin.DevicePolicyManager.LOCK_TASK_FEATURE_NOTIFICATIONS

このページの一部は、Android オープンソース プロジェクトによって作成および共有され、クリエイティブ コモンズ 2.5 属性ライセンスに記載されている条件に従って使用される作業に基づく変更です。

適用対象