Sync Media Segment Duration Changed Engine Event Data
class SyncMediaSegmentDurationChangedEngineEventData(val objectType: EngineEventDataObjectType = EngineEventDataObjectType.SYNC_MEDIA_SEGMENT_DURATION_CHANGED_EVENT, val type: EngineEventDataType, val approximateElapsedTimeMs: Int, val syncMediaTimelinePosition: SyncMediaTimelinePositionData, val newDurationMs: Int, val oldDurationMs: Int, val segmentIndex: Int) : SyncMediaEngineEventData
This event fires after the duration of a SyncMediaTimelineSegment has been updated. This can happen when the SyncMediaPlayer has received additional information about a segment's duration (such as after loading the media) and it did not match with the approximated value. The segment has been updated with the new duration value and the total duration of the timeline has also been updated.
Constructors
Link copied to clipboard
fun SyncMediaSegmentDurationChangedEngineEventData(objectType: EngineEventDataObjectType = EngineEventDataObjectType.SYNC_MEDIA_SEGMENT_DURATION_CHANGED_EVENT, type: EngineEventDataType, approximateElapsedTimeMs: Int, syncMediaTimelinePosition: SyncMediaTimelinePositionData, newDurationMs: Int, oldDurationMs: Int, segmentIndex: Int)