0.0.1 • Published 10 months ago
@positflav/loudspeaker v0.0.1
@positflav/loudspeaker
Control loudspeaker ios and android
Install
npm install @positflav/loudspeaker
npx cap sync
API
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; }>
0.0.1
10 months ago