A plugin to set and monitor the Do Not Disturb state
npm install @gachlab/capacitor-dnd-plugin
npx cap syncmonitor() => Promise<{ enabled: boolean; }>Returns: Promise<{ enabled: boolean; }>
set(options: { enabled: boolean; }) => Promise<void>| Param | Type |
|---|---|
options |
{ enabled: boolean; } |