Share via


NotificationManager.AutomaticZenRules Property

Definition

Returns AutomaticZenRules owned by the caller.

public virtual System.Collections.Generic.IDictionary<string,Android.App.AutomaticZenRule>? AutomaticZenRules { [Android.Runtime.Register("getAutomaticZenRules", "()Ljava/util/Map;", "GetGetAutomaticZenRulesHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getAutomaticZenRules", "()Ljava/util/Map;", "GetGetAutomaticZenRulesHandler", ApiSince=24)>]
member this.AutomaticZenRules : System.Collections.Generic.IDictionary<string, Android.App.AutomaticZenRule>

Property Value

Attributes

Remarks

Returns AutomaticZenRules owned by the caller.

Throws a SecurityException if policy access is not granted to this package. See #isNotificationPolicyAccessGranted.

Java documentation for android.app.NotificationManager.getAutomaticZenRules().

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