PreloadType enum

Preload type.

Inheritance

Constructors

PreloadType(String nativeValue)
const

Values

none → const PreloadType

Indicates that the audio should not be preloaded.

const PreloadType('none')
metaData → const PreloadType

Indicates that only audio metadata (e.g. length) is fetched.

const PreloadType('metadata')
auto → const PreloadType

Indicates that the whole audio file can be downloaded, even if the user is not expected to use it.

const PreloadType('auto')
empty → const PreloadType

A synonym of the auto value.

const PreloadType('')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
nativeValue String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<PreloadType>
A constant List of the values in this enum, in order of their declaration.