@gachlab/capacitor-dnd-plugin
v1.3.0
Published
A plugin to set and monitor the Do Not Disturb state
Downloads
17
Readme
@gachlab/capacitor-dnd-plugin
A plugin to set and monitor the Do Not Disturb state
Install
npm install @gachlab/capacitor-dnd-plugin
npx cap syncAPI
monitor()
monitor() => Promise<{ enabled: boolean; }>Returns: Promise<{ enabled: boolean; }>
set(...)
set(options: { enabled: boolean; }) => Promise<void>| Param | Type |
| ------------- | ---------------------------------- |
| options | { enabled: boolean; } |
