PebbleOS
Loading...
Searching...
No Matches
Functions
Do Not Disturb toggle

Quiet Time toggle dialog. More...

Functions

void do_not_disturb_toggle_push (ActionTogglePrompt prompt, bool set_exit_reason)
 Push the Quiet Time toggle.
 

Detailed Description

Quiet Time toggle dialog.

Function Documentation

◆ do_not_disturb_toggle_push()

void do_not_disturb_toggle_push ( ActionTogglePrompt  prompt,
bool  set_exit_reason 
)

Push the Quiet Time toggle.

Sets manual DND to the opposite of the current DND active state, which also overrides scheduled and smart DND.

Parameters
promptWhether to ask for confirmation first.
set_exit_reasonWhether to set the app exit reason when the toggle completes.