1.0.4 • Published 3 months ago
@mcfarljw/capacitor-audio v1.0.4
@mcfarljw/capacitor-audio
A native audio plugin for Ionic Capacitor.
Install
npm install @mcfarljw/capacitor-audio
npx cap sync
API
play(...)
play(options: { path: string; track: number; }) => Promise<void>
Param | Type |
---|---|
options | { path: string; track: number; } |
stop(...)
stop(options: { track: number; }) => Promise<void>
Param | Type |
---|---|
options | { track: number; } |
stopAll()
stopAll() => Promise<void>