@positflav/loudspeaker
v0.0.1
Published
Control loudspeaker ios and android
Downloads
3
Readme
@positflav/loudspeaker
Control loudspeaker ios and android
Install
npm install @positflav/loudspeaker
npx cap syncAPI
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<{ value: string; }>
setAudioMode(...)
setAudioMode(options: { mode: 'speaker' | 'earpiece'; }) => Promise<{ success: boolean; }>| Param | Type |
| ------------- | ----------------------------------------------- |
| options | { mode: 'speaker' | 'earpiece'; } |
Returns: Promise<{ success: boolean; }>
