enable Do Not Disturb
Enables/Disables the Do-Not-Disturb option. When activated, disables the current Firebase token to avoid receiving push notifications from the server and blocks incoming calls received through socket.
Parameters
context
Application or activity context.
is Enabled
True to enable the Do-Not-Disturb option, false to disable.