UMediaTrack class

An audio/video/subtitle track.

Constructors

UMediaTrack({required String id, required UMediaTrackType type, String? label, String? language, String? codec, int? bitrate, int? width, int? height, double? frameRate, int? channels, int? sampleRate, bool isDefault = false, bool isForced = false, bool isSelected = false, bool isAuto = false})
const
UMediaTrack.fromMap(Map<Object?, Object?> map)
factory

Properties

bitrate → int?
final
bitrateLabel → String
no setter
channelLabel → String
no setter
channels → int?
final
codec → String?
final
frameRate → double?
final
hashCode → int
The hash code for this object.
no setterinherited
height → int?
final
id → String
final
isAuto → bool
final
isDefault → bool
final
isForced → bool
final
isSelected → bool
final
label → String?
final
language → String?
final
qualityLabel → String
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sampleRate → int?
final
type → UMediaTrackType
final
width → int?
final

Methods

copyWith({bool? isSelected}) → UMediaTrack
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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