@gachlab/capacitor-dnd-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@gachlab/capacitor-dnd-plugin

A plugin to set and monitor the Do Not Disturb state

Install

npm install @gachlab/capacitor-dnd-plugin
npx cap sync

API

monitor(...)

monitor(callback: (result: DoNotDisturbState) => void) => Promise<void>
Param Type
callback (result: DoNotDisturbState) => void

toggleDoNotDisturb()

toggleDoNotDisturb() => Promise<void>

Interfaces

DoNotDisturbState

Prop Type
doNotDisturb boolean

Readme

Keywords

Package Sidebar

Install

npm i @gachlab/capacitor-dnd-plugin

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

21.7 kB

Total Files

26

Last publish

Collaborators

  • gach