Options
All
  • Public
  • Public/Protected
  • All
Menu

Event used when a SyncMediaPlayer encounters an error.

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

error

error: string

The error object serialized as a string.

errorMessage

errorMessage: string

If errorData was an instance of Error, it is set to errorData.message, otherwise it is set to null.

errorType

The type of error that occurred.

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

objectType

The type of engine event object this JSON structure represents.

default

SYNC_MEDIA_ERROR_ENGINE_EVENT

paused

paused: boolean

If the player has paused due to the error. If true, a "paused" event will also be fired right after this event.

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 the segment related with the error.

int

syncMediaPlayerName

syncMediaPlayerName: string
nativeignore

syncMediaTimelinePosition

syncMediaTimelinePosition: ISyncMediaTimelinePositionData

The current player timeline position.

type

The type of event.

Generated using TypeDoc