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? image, bool? albumart, String? codec, String? decoder, int? w, int? h, int? channelscount, String? channels, int? samplerate, double? fps, int? bitrate, int? rotate, double? par, int? audiochannels, 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

albumart bool?
finalinherited
audiochannels int?
finalinherited
bitrate int?
finalinherited
channels String?
finalinherited
channelscount int?
finalinherited
codec String?
finalinherited
decoder String?
finalinherited
fps double?
finalinherited
h int?
finalinherited
hashCode int
The hash code for this object.
no setter
id String
finalinherited
image bool?
finalinherited
language String?
finalinherited
par double?
finalinherited
rotate int?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
samplerate int?
finalinherited
title String?
finalinherited
uri bool
Whether the audio track is loaded from URI.
final
w int?
finalinherited

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.