2.0.0 • Published 9 months ago

@anuradev/capacitor-device-settings v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@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>
ParamType
data{ mode: RingerMode; }

Type Aliases

RingerMode

'normal' | 'silent' | 'vibrate'

2.0.0

9 months ago

1.0.1

10 months ago

1.0.0

10 months ago