TRTCAVStatusChangeReason enum
Reasons for Playback Status Changes
This enumerated type is used in the audio status changed API TRTCCloudListener.onRemoteAudioStatusUpdated and the video status changed API TRTCCloudListener.onRemoteVideoStatusUpdated to specify the reason for the current audio/video status change.
Values
- internal → const TRTCAVStatusChangeReason
-
- Default value
- bufferingBegin → const TRTCAVStatusChangeReason
-
- The stream enters the Loading state due to network congestion
- bufferingEnd → const TRTCAVStatusChangeReason
-
- The stream enters the Playing state after network recovery
- localStarted → const TRTCAVStatusChangeReason
-
- As a start-related API was directly called locally, the stream enters the Playing state
- localStopped → const TRTCAVStatusChangeReason
-
- As a stop-related API was directly called locally, the stream enters the Stopped state
- remoteStarted → const TRTCAVStatusChangeReason
-
- As the remote user started (or resumed) publishing the audio or video stream, the stream enters the Loading or Playing state
- remoteStopped → const TRTCAVStatusChangeReason
-
- As the remote user stopped (or paused) publishing the audio or video stream, the stream enters the "Stopped" state
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<
TRTCAVStatusChangeReason> - A constant List of the values in this enum, in order of their declaration.