AutomaticZenRule.ZenPolicy Property

Definition

Gets the zen policy. -or- Sets the zen policy.

public Android.Service.Notification.ZenPolicy? ZenPolicy { [Android.Runtime.Register("getZenPolicy", "()Landroid/service/notification/ZenPolicy;", "", ApiSince=29)] get; [Android.Runtime.Register("setZenPolicy", "(Landroid/service/notification/ZenPolicy;)V", "", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getZenPolicy", "()Landroid/service/notification/ZenPolicy;", "", ApiSince=29)>]
[<set: Android.Runtime.Register("setZenPolicy", "(Landroid/service/notification/ZenPolicy;)V", "", ApiSince=29)>]
member this.ZenPolicy : Android.Service.Notification.ZenPolicy with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Gets the zen policy.

Java documentation for android.app.AutomaticZenRule.getZenPolicy().

Property setter documentation:

Sets the zen policy.

Java documentation for android.app.AutomaticZenRule.setZenPolicy(android.service.notification.ZenPolicy).

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