2.0.2 • Published 2 years ago

capacitor-audio-toggle v2.0.2

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

capacitor-audio-toggle

Audio Toggle Plugin for VOIP Apps

Install

npm install capacitor-audio-toggle
npx cap sync

API

setAudioMode(...)

setAudioMode(options: { mode: string; }) => Promise<{ mode: string; }>
ParamType
options{ mode: string; }

Returns: Promise<{ mode: string; }>


bluetoothConnected()

bluetoothConnected() => Promise<{ isBluetooth: boolean; }>

Returns: Promise<{ isBluetooth: boolean; }>


addListener('bluetoothConnected', ...)

addListener(eventName: 'bluetoothConnected', listenerFunc: (bluetoothConnected: boolean) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
ParamType
eventName'bluetoothConnected'
listenerFunc(bluetoothConnected: boolean) => void

Returns: Promise<PluginListenerHandle> & PluginListenerHandle


Interfaces

PluginListenerHandle

PropType
remove() => Promise<void>
2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

3 years ago

0.1.10

4 years ago

0.1.11

4 years ago

0.1.12

4 years ago

0.1.8

4 years ago

0.1.9

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

5 years ago

0.1.0

5 years ago

0.1.2

5 years ago

0.1.3

5 years ago

0.0.3

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.6

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago