TCMediaEvent
class TCMediaEvent(val eventType: MediaEventType, val assets: Map<String, String>, val sourceId: String? = null) : TCCustomEvent
Represents a media event to be sent to Commanders Act. This class extends TCCustomEvent
and adds specific properties for media tracking.
Properties
Link copied to clipboard
Link copied to clipboard
Indicates whether the current audio track has an associated audio description.
Link copied to clipboard
Represents the language of the currently selected audio track.
Link copied to clipboard
Represents the device's volume level as a percentage.
Link copied to clipboard
The type of media event, defined by the Analytics team using the MediaEventType enum.
Link copied to clipboard
Indicates whether subtitles are enabled.
Link copied to clipboard
Link copied to clipboard
Represents the current playback position.
Link copied to clipboard
Represents the language of the currently selected subtitle track.