ZenPolicy.Builder.AllowSystem(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Whether to allow system sounds to play when DND is active.
[Android.Runtime.Register("allowSystem", "(Z)Landroid/service/notification/ZenPolicy$Builder;", "", ApiSince=29)]
public Android.Service.Notification.ZenPolicy.Builder AllowSystem(bool allow);
[<Android.Runtime.Register("allowSystem", "(Z)Landroid/service/notification/ZenPolicy$Builder;", "", ApiSince=29)>]
member this.AllowSystem : bool -> Android.Service.Notification.ZenPolicy.Builder
Parameters
- allow
- Boolean
Returns
- Attributes
Remarks
Whether to allow system sounds to play when DND is active. Disallowing system sounds will mute the system stream when DND is active.
Android reference for android.service.notification.ZenPolicy.Builder.allowSystem.
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.