MediaQualityChangeEvent class Adding data to your events Media events Tracking events

Media player event tracked when the video playback quality changes.

Implemented types
Annotations

Constructors

MediaQualityChangeEvent({String? previousQuality, String? newQuality, int? bitrate, int? framesPerSecond, bool? automatic})
const

Properties

automatic bool?
Whether the change was automatic or triggered by the user.
final
bitrate int?
The current bitrate in bits per second.
final
framesPerSecond int?
The current number of frames per second.
final
hashCode int
The hash code for this object.
no setterinherited
newQuality String?
Quality level after the change (e.g., 1080p).
final
previousQuality String?
Quality level before the change (e.g., 1080p). If not set, the previous quality is taken from the last setting in media player.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

endpoint() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, Object?>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited