0.0.1 • Published 10 months ago

@positflav/loudspeaker v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@positflav/loudspeaker

Control loudspeaker ios and android

Install

npm install @positflav/loudspeaker
npx cap sync

API

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>
ParamType
options{ value: string; }

Returns: Promise<{ value: string; }>


setAudioMode(...)

setAudioMode(options: { mode: 'speaker' | 'earpiece'; }) => Promise<{ success: boolean; }>
ParamType
options{ mode: 'speaker' | 'earpiece'; }

Returns: Promise<{ success: boolean; }>


0.0.1

10 months ago