0.2.0 • Published 11 months ago

ensemble-audio-player-plugin v0.2.0

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

ensemble-audio-player-plugin

Playing audio on ios

Install

npm install ensemble-audio-player-plugin
npx cap sync

API

echo(...)

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

Returns: Promise<{ value: string; }>


startQueue(...)

startQueue(options: { queue: any[]; currentIndex: number; loopMode: boolean; }) => Promise<any>
ParamType
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
ParamType
arg0string
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>
ParamType
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>
ParamType
options{ audioQueueIndex: number; playQueueItem: { title: string; url: string; artwork: string; artist: string; }; }

Returns: Promise<any>


getCurrAudioRoute()

getCurrAudioRoute() => Promise<{ headphonesConnected: boolean; outLatency: number; }>

Returns: Promise<{ headphonesConnected: boolean; outLatency: number; }>


setZoomScale(...)

setZoomScale(options: { zoomScale: number; }) => Promise<any>
ParamType
options{ zoomScale: number; }

Returns: Promise<any>


0.2.0

11 months ago

0.1.0

1 year ago

0.1.1

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago