Publication Media Element Engine Event Data
class PublicationMediaElementEngineEventData(val objectType: EngineEventDataObjectType = EngineEventDataObjectType.PUBLICATION_MEDIA_ELEMENT_ENGINE_EVENT, val type: EngineEventDataType, val currentTimeMs: Int, val durationMs: Int, val mediaResource: EngineEventMediaResourceData, val target: EngineEventTargetData) : ReaderViewEngineEventData
Used for various publication media element related events.
Constructors
Link copied to clipboard
constructor(objectType: EngineEventDataObjectType = EngineEventDataObjectType.PUBLICATION_MEDIA_ELEMENT_ENGINE_EVENT, type: EngineEventDataType, currentTimeMs: Int, durationMs: Int, mediaResource: EngineEventMediaResourceData, target: EngineEventTargetData)
Properties
Link copied to clipboard
The current playback position in the media element, in milliseconds.
Link copied to clipboard
The total duration of the media in milliseconds.
Link copied to clipboard
Contains additional information about the media resource and methods to access media content.
Link copied to clipboard
The type of engine event object this JSON structure represents.
Link copied to clipboard
Contains additional information about the element.
Link copied to clipboard
The type of event.