discontinuedPackage flutter_meedu_media_kit has been discontinued.

SubtitleTrack class

SubtitleTrack

A subtitle available in Media. This may be selected for output in Player.

Constructors

SubtitleTrack(String id, String? title, String? language, [bool uri = false, bool data = false])
SubtitleTrack
const
SubtitleTrack.auto()
Default subtitle track. Selects the first subtitle track.
factory
SubtitleTrack.data(String data, {String? title, String? language})
SubtitleTrack loaded with data.
factory
SubtitleTrack.no()
No subtitle track. Disables subtitle output.
factory
SubtitleTrack.uri(String uri, {String? title, String? language})
SubtitleTrack loaded with URI.
factory

Properties

data → bool
Whether the audio track is loaded from data.
final
hashCode → int
The hash code for this object.
no setter
id → String
finalinherited
language → String?
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String?
finalinherited
uri → bool
Whether the subtitle track is loaded from URI.
final

Methods

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

Operators

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