TCMediaEvent
class TCMediaEvent(val eventType: MediaEventType, val assets: Map<String, String>, val source: CommandersActSource? = null) : TCCustomEvent(source)
Represents a media event to be sent to Commanders Act. This class extends TCCustomEvent and adds specific properties for media tracking.
Constructors
Link copied to clipboard
constructor(eventType: MediaEventType, assets: Map<String, String>, source: CommandersActSource? = null)
Properties
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
Tell if the player is considered as a GoogleCast receiver. GoogleCast senders should not update this value.
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
the CommandersActSource of the event.
Link copied to clipboard
Represents the language of the currently selected subtitle track.