Skip to content
This repository was archived by the owner on Mar 16, 2023. It is now read-only.

Capacitor plugin for switching between speaker and earpiece when playing audio.

Notifications You must be signed in to change notification settings

angeloraso/capacitor-plugin-audiotoggle-bluetooth

Repository files navigation

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


About

Capacitor plugin for switching between speaker and earpiece when playing audio.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published