capacitor-useful-audio
v1.0.1
Published
An audio plugin for capacitor that is actually useful, support the major kinds of audio interactions you might need.
Downloads
4
Readme
capacitor-useful-audio
An audio plugin for capacitor that is actually useful, support playing and audio chunk via base64 and returning a resolved promise when it's complete. Also supports stopping the audio playback mid-stream.
Install
npm install capacitor-useful-audio
npx cap sync
API
play64(...)
play64(options: { base64: string; }) => Promise<any>
| Param | Type |
| ------------- | -------------------------------- |
| options
| { base64: string; } |
Returns: Promise<any>
stop()
stop() => Promise<any>
Returns: Promise<any>