Sync Media Error Engine Event Data
class SyncMediaErrorEngineEventData(val objectType: EngineEventDataObjectType = EngineEventDataObjectType.SYNC_MEDIA_ERROR_ENGINE_EVENT, val type: EngineEventDataType, val approximateElapsedTimeMs: Int, val syncMediaTimelinePosition: SyncMediaTimelinePositionData, val error: String, val errorMessage: String?, val errorType: SyncMediaPlayerErrorType, val paused: Boolean, val segmentIndex: Int) : SyncMediaEngineEventData
Event used when a SyncMediaPlayer encounters an error.
Constructors
Link copied to clipboard
constructor(objectType: EngineEventDataObjectType = EngineEventDataObjectType.SYNC_MEDIA_ERROR_ENGINE_EVENT, type: EngineEventDataType, approximateElapsedTimeMs: Int, syncMediaTimelinePosition: SyncMediaTimelinePositionData, error: String, errorMessage: String?, errorType: SyncMediaPlayerErrorType, paused: Boolean, segmentIndex: Int)
Properties
Link copied to clipboard
The approximate elapsed time from timeline start in milliseconds
Link copied to clipboard
If errorData was an instance of Error, it is set to errorData.message, otherwise it is set to null.
Link copied to clipboard
The type of error that occurred.
Link copied to clipboard
The type of engine event object this JSON structure represents.
Link copied to clipboard
The index of the segment related with the error.
Link copied to clipboard
The current player timeline position.
Link copied to clipboard
The type of event.