enableDoNotDisturbMode

open suspend fun enableDoNotDisturbMode(enable: Boolean)

Enables or disables "Do Not Disturb" mode with this VPA. When enabled, all incoming notifications, announcements etc. are blocked, except for high priority ones such as alarms and timers.

Parameters

enable

true if Do Not Disturb mode should be enabled, false otherwise.