BetterPlayerAsmsSubtitle class

Representation of HLS / DASH subtitle element.

Constructors

BetterPlayerAsmsSubtitle({String? language, String? name, String? mimeType, bool? segmentAlignment, String? url, List<String>? realUrls, bool? isSegmented, int? segmentsTime, List<BetterPlayerAsmsSubtitleSegment>? segments, bool? isDefault})

Properties

hashCode int
The hash code for this object.
no setterinherited
isDefault bool?
If the subtitle is the default
final
isSegmented bool?
Should subtitles be loaded with segments.
final
language String?
Language of the subtitle
final
mimeType String?
MimeType of the subtitle (DASH only)
final
name String?
Name of the subtitle
final
realUrls List<String>?
Urls of specific files
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segmentAlignment bool?
Segment alignment (DASH only)
final
segments List<BetterPlayerAsmsSubtitleSegment>?
List of subtitle segments. Only used when isSegmented is true.
final
segmentsTime int?
Max value between segments. In HLS defined as #EXT-X-TARGETDURATION. Only used when isSegmented is true.
final
url String?
Url of the subtitle (master playlist)
final

Methods

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