IPlaybackEventsProvider
Used to provide responses to commands requesting playback event data.
Methods
addPlaybackEventChunk()
addPlaybackEventChunk(playbackEvents: IPlaybackEvent
[]):void
Adds playback event data to response.
Use repeated calls to 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
A list of playback events.
commit()
commit():
void
Indicates the end of responses.
Must be called after the final call of addPlaybackEventChunk.
Last updated: Jul 22, 2026

