1.1.1 • Published 3 years ago
capacitor-plugin-audiotoggle-bluetooth v1.1.1
capacitor-plugin-audiotoggle-bluetooth
Capacitor plugin for switching between speaker, earpiece and bluetooth headset when playing audio.
Install
npm install capacitor-plugin-audiotoggle-bluetooth
npx cap sync
API
setAudioMode(...)
setAudioMode(data: { mode: AudioMode; }) => any
Param | Type |
---|---|
data | { mode: AudioMode; } |
Returns: any
isHeadsetConnected()
isHeadsetConnected() => any
Returns: any
1.1.1
3 years ago