2020-02-23 20:29:08 +01:00
|
|
|
import 'models.dart';
|
|
|
|
|
|
|
|
/// Metadata associated with a certain [ClosedCaptionTrack]
|
|
|
|
class ClosedCaptionTrackInfo {
|
|
|
|
/// Manifest URL of the associated track.
|
|
|
|
final Uri url;
|
|
|
|
|
2020-02-23 21:00:35 +01:00
|
|
|
/// Language of the associated track.
|
2020-02-23 20:29:08 +01:00
|
|
|
final Language language;
|
|
|
|
|
2020-02-23 21:00:35 +01:00
|
|
|
/// Whether the associated track was automatically generated.
|
2020-02-23 20:29:08 +01:00
|
|
|
final bool isAutoGenerated;
|
|
|
|
|
2020-02-23 21:00:35 +01:00
|
|
|
/// Initializes an instance of [ClosedCaptionTrackInfo]
|
|
|
|
const ClosedCaptionTrackInfo(this.url, this.language, {this.isAutoGenerated});
|
|
|
|
}
|