MediaPlayerReason enum
Reason for media player state change.
Values
- playerReasonNone → const MediaPlayerReason
-
0: No error.
- playerReasonInvalidArguments → const MediaPlayerReason
-
-1: Invalid arguments.
- playerReasonInternal → const MediaPlayerReason
-
-2: Internal error.
- playerReasonNoResource → const MediaPlayerReason
-
-3: No resource.
- playerReasonInvalidMediaSource → const MediaPlayerReason
-
-4: Invalid resource.
- playerReasonUnknownStreamType → const MediaPlayerReason
-
-5: Unknown media stream type.
- playerReasonObjNotInitialized → const MediaPlayerReason
-
-6: Object not initialized.
- playerReasonCodecNotSupported → const MediaPlayerReason
-
-7: Codec not supported.
- playerReasonVideoRenderFailed → const MediaPlayerReason
-
-8: Invalid renderer.
- playerReasonInvalidState → const MediaPlayerReason
-
-9: Invalid internal player state.
- playerReasonUrlNotFound → const MediaPlayerReason
-
-10: URL not found.
- playerReasonInvalidConnectionState → const MediaPlayerReason
-
-11: Invalid connection between player and Agora server.
- playerReasonSrcBufferUnderflow → const MediaPlayerReason
-
-12: Insufficient playback buffer data.
- playerReasonInterrupted → const MediaPlayerReason
-
-13: Playback was interrupted abnormally and ended.
- playerReasonNotSupported → const MediaPlayerReason
-
-14: SDK does not support this API call.
- playerReasonTokenExpired → const MediaPlayerReason
-
-15: Authentication information for the media resource network path has expired.
- playerReasonIpExpired → const MediaPlayerReason
-
@nodoc
- playerReasonUnknown → const MediaPlayerReason
-
-17: Unknown error.
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<
MediaPlayerReason> - A constant List of the values in this enum, in order of their declaration.