NotificationManager.ConsolidatedNotificationPolicy Property

Definition

Returns the currently applied notification policy.

public virtual Android.App.NotificationManager.Policy ConsolidatedNotificationPolicy { [Android.Runtime.Register("getConsolidatedNotificationPolicy", "()Landroid/app/NotificationManager$Policy;", "GetGetConsolidatedNotificationPolicyHandler", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getConsolidatedNotificationPolicy", "()Landroid/app/NotificationManager$Policy;", "GetGetConsolidatedNotificationPolicyHandler", ApiSince=30)>]
member this.ConsolidatedNotificationPolicy : Android.App.NotificationManager.Policy

Property Value

This value cannot be null.

Attributes

Remarks

Returns the currently applied notification policy. If getCurrentInterruptionFilter() is equal to INTERRUPTION_FILTER_ALL, then the consolidated notification policy will match the default notification policy returned by getNotificationPolicy().

Android reference for android.app.NotificationManager.getConsolidatedNotificationPolicy.

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.

Applies to