PlayerException class

Captures the details of any error accessing, loading or playing an audio source, including an invalid or inaccessible URL, or an audio encoding that could not be understood.

Implemented types

Constructors

PlayerException(int code, String? message)

Properties

code int
On iOS and macOS, maps to NSError.code. On Android, maps to ExoPlaybackException.type. On Web, maps to MediaError.code.
final
hashCode int
The hash code for this object.
no setterinherited
message String?
On iOS and macOS, maps to NSError.localizedDescription. On Android, maps to ExoPlaybackException.getMessage(). On Web, a generic message is provided.
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.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited