Options
All
  • Public
  • Public/Protected
  • All
Menu

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.

Hierarchy

Index

Properties

approximateElapsedTimeMs

approximateElapsedTimeMs: number

The approximate elapsed time from timeline start in milliseconds

int

cancelable

cancelable: boolean

IF this event's default action is cancelable. See respective engine event for its definition of default action.

nativeignore

defaultPrevented

defaultPrevented: boolean

If this event's default action has been canceled/prevented by a call to preventDefault()

nativeignore

immediatePropagationStopped

immediatePropagationStopped: boolean

True if stopImmediatePropagation() was called on this event.

nativeignore

isTrusted

isTrusted: boolean

If this event runs in a "trusted" context, i.e. the event callback is executed during a user-generated event such as "click" or "pointerdown".

nativeignore

newDurationMs

newDurationMs: number

The new duration of the segment in milliseconds.

int

objectType

The type of engine event object this JSON structure represents.

default

SYNC_MEDIA_SEGMENT_DURATION_CHANGED_EVENT

oldDurationMs

oldDurationMs: number

The old duration of the segment in milliseconds.

int

propagationStopped

propagationStopped: boolean

True if stopPropagation() was called on this event.

nativeignore

readerViewName

readerViewName: string

The name of the ReaderView this event is related to, if any.

nativeignore

segmentIndex

segmentIndex: number

The index of this segment within the timeline's segment list.

int

syncMediaPlayerName

syncMediaPlayerName: string
nativeignore

syncMediaTimelinePosition

syncMediaTimelinePosition: ISyncMediaTimelinePositionData

The current player timeline position.

type

The type of event.

Generated using TypeDoc