AudioTrack class

AudioTrack

An audio available in Media. This may be selected for output in Player.

Constructors

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

Properties

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 audio 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.