ensemble-audio-player-plugin
v0.3.3
Published
Playing audio on ios
Downloads
7
Maintainers
Readme
ensemble-audio-player-plugin
Playing audio on ios
Install
npm install ensemble-audio-player-plugin
npx cap syncAPI
echo(...)startQueue(...)removeQueue()addListener(string, ...)playQueueItem(...)updateQueueItem(...)getCurrAudioRoute()setZoomScale(...)
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<{ value: string; }>
startQueue(...)
startQueue(options: { queue: any[]; currentIndex: number; loopMode: boolean; }) => Promise<any>| Param | Type |
| ------------- | ----------------------------------------------------------------------- |
| options | { queue: any[]; currentIndex: number; loopMode: boolean; } |
Returns: Promise<any>
removeQueue()
removeQueue() => Promise<any>Returns: Promise<any>
addListener(string, ...)
addListener(arg0: string, arg1: (info: any) => void) => any| Param | Type |
| ---------- | ----------------------------------- |
| arg0 | string |
| arg1 | (info: any) => void |
Returns: any
playQueueItem(...)
playQueueItem(options: { currentTime: number; videoPlaying: boolean; audioQueueIndex: number; playQueueItem: { title: string; url: string; artwork: string; artist: string; }; }) => Promise<any>| Param | Type |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| options | { currentTime: number; videoPlaying: boolean; audioQueueIndex: number; playQueueItem: { title: string; url: string; artwork: string; artist: string; }; } |
Returns: Promise<any>
updateQueueItem(...)
updateQueueItem(options: { audioQueueIndex: number; playQueueItem: { title: string; url: string; artwork: string; artist: string; }; }) => Promise<any>| Param | Type |
| ------------- | -------------------------------------------------------------------------------------------------------------------------- |
| options | { audioQueueIndex: number; playQueueItem: { title: string; url: string; artwork: string; artist: string; }; } |
Returns: Promise<any>
getCurrAudioRoute()
getCurrAudioRoute() => Promise<{ headphonesConnected: boolean; outLatency: number; shouldSubOutputLatency: boolean; }>Returns: Promise<{ headphonesConnected: boolean; outLatency: number; shouldSubOutputLatency: boolean; }>
setZoomScale(...)
setZoomScale(options: { zoomScale: number; }) => Promise<any>| Param | Type |
| ------------- | ----------------------------------- |
| options | { zoomScale: number; } |
Returns: Promise<any>
