1.1.1 • Published 3 years ago

capacitor-plugin-audiotoggle-bluetooth v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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

Returns: any


isHeadsetConnected()

isHeadsetConnected() => any

Returns: any