Media Quality Change Event
class MediaQualityChangeEvent @JvmOverloads constructor(var newQuality: String? = null, var previousQuality: String? = null, var bitrate: Int? = null, var framesPerSecond: Int? = null, var automatic: Boolean? = null) : AbstractSelfDescribing, MediaPlayerUpdatingEvent
Media player event tracked when the video playback quality changes.
Parameters
new Quality
Quality level after the change (e.g., 1080p).
previous Quality
Quality level before the change (e.g., 1080p). If not set, the previous quality is taken from the last setting in media player.
bitrate
The current bitrate in bits per second.
frames Per Second
The current number of frames per second.
automatic
Whether the change was automatic or triggered by the user.
Functions
Link copied to clipboard
Adds a list of context entities to the existing ones.
Link copied to clipboard
Adds a list of context entities to the existing ones.
Link copied to clipboard
Set the custom timestamp of the event.
Link copied to clipboard
Updates event properties based on the player entity but also updates the player properties based on the event.
Properties
Link copied to clipboard
Link copied to clipboard
The payload for the event.
Link copied to clipboard
Link copied to clipboard
Used for events whose properties are added as entities, e.g. Ecommerce events
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard