IosMediaTrack class

Inheritance

Constructors

IosMediaTrack({required String trackContentType, required int trackId, required TrackType type, Map<String, dynamic>? customData, RFC5646_LANGUAGE? language, String? name, TextTrackType? subtype, String? trackContentId})
IosMediaTrack.fromMap(Map json)
factory

Properties

customData Map<String, dynamic>?
Custom application data.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
language RFC5646_LANGUAGE?
Language tag as per RFC 5646. Mandatory when the subtype is SUBTITLES.
finalinherited
name String?
A descriptive, human-readable name for the track. For example, “Spanish”. This can be used by the sender UI for example, to create a selection dialog. If the name is empty the dialog would contain an empty slot.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtype TextTrackType?
For text tracks, the type of text track.
finalinherited
trackContentId String?
Identifier of the track’s content. It can be the URL of the track or any other identifier that allows the receiver to find the content (when the track is not inband or included in the manifest). For example it can be the URL of a vtt file.
finalinherited
trackContentType String
The MIME type of the track content. For example if the track is a vtt file it will be ‘text/vtt’. This field is needed for out of band tracks, so it is usually provided if a trackContentId has also been provided. It is not mandatory if the receiver has a way to identify the content from the trackContentId, but recommended. The track content type, if provided, must be consistent with the track type.
finalinherited
trackId int
finalinherited
type TrackType
The type of track.
finalinherited

Methods

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

Operators

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