Interface IPlaybackEventsProvider
interface IPlaybackEventsProvider
Extends com.amazon.apmf.IStandard
Used to provide responses to commands requesting playback event data.
Methods
addPlaybackEventChunk()
Adds playback event data to response. Use repeated calls tovoidaddPlaybackEventChunk(IPlaybackEvent*[]playbackEvents)
addPlaybackEventChunk to paginate data to prevent loading large lists into memory.
Must eventually be followed by a call to commit() after all playback events have been sent.
Parameters
playbackEvents
IPlaybackEvent*[] — Required
A list of playback events.
commit()
void commit()
Indicates the end of responses.
Must be called after the final call of addPlaybackEventChunk.

