@anuradev/capacitor-device-settings
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

@anuradev/capacitor-device-settings

Capacitor plugin to get/set device settings

Install

npm install @anuradev/capacitor-device-settings
npx cap sync

API

getRingerMode()

getRingerMode() => Promise<{ mode: RingerMode; }>

Returns: Promise<{ mode: RingerMode; }>


setRingerMode(...)

setRingerMode(data: { mode: RingerMode; }) => Promise<void>
Param Type
data { mode: RingerMode; }

Type Aliases

RingerMode

'normal' | 'silent' | 'vibrate'

Readme

Keywords

Package Sidebar

Install

npm i @anuradev/capacitor-device-settings

Weekly Downloads

3

Version

2.0.0

License

MIT

Unpacked Size

19.8 kB

Total Files

27

Last publish

Collaborators

  • anuradev