AudioRouteStatus enum

High-level outcome of an audio route selection request.

Inheritance
Available extensions

Values

success → const AudioRouteStatus

The platform accepted the route request and the active route matches it.

pending → const AudioRouteStatus

The route request was accepted, but the platform has not yet reported it as the active route.

notFound → const AudioRouteStatus

The requested device, type, or name could not be found.

rejected → const AudioRouteStatus

The platform rejected the request even though the target was available.

unsupported → const AudioRouteStatus

The operation is not supported on this platform or browser.

permissionDenied → const AudioRouteStatus

The operation needs a permission the app does not currently have.

cleared → const AudioRouteStatus

The active route was cleared or returned to the platform default.

error → const AudioRouteStatus

The platform reported an error that does not fit a more specific status.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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<AudioRouteStatus>
A constant List of the values in this enum, in order of their declaration.