capacitor-useful-audio
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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>


Readme

Keywords

Package Sidebar

Install

npm i capacitor-useful-audio

Weekly Downloads

0

Version

1.0.1

License

Apache 2.0

Unpacked Size

32.5 kB

Total Files

28

Last publish

Collaborators

  • whiskeredaxe