ByteRTCSubscribeStateChangeReason enum

Inheritance
Available extensions

Values

ByteRTCSubscribeStateChangeReasonSubscribe → const ByteRTCSubscribeStateChangeReason

@brief Requested to subscribe.

ByteRTCSubscribeStateChangeReasonUnsubscribe → const ByteRTCSubscribeStateChangeReason

@brief Requested to unsubscribe.

ByteRTCSubscribeStateChangeReasonRemotePublish → const ByteRTCSubscribeStateChangeReason

@brief The remote user published a stream.

ByteRTCSubscribeStateChangeReasonRemoteUnpublish → const ByteRTCSubscribeStateChangeReason

@brief The remote user removed a stream.

ByteRTCSubscribeStateChangeReasonStreamFailed5xx → const ByteRTCSubscribeStateChangeReason

@brief Failed to subscribe due to the server error. The SDK will automatically retry.

ByteRTCSubscribeStateChangeReasonStreamFailed404 → const ByteRTCSubscribeStateChangeReason

@brief Failed to subscribe since the stream to be subscribe to was not found in the room. The SDK will automatically retry the subscription. If the subscription still fails, we recommend you exit and retry.

ByteRTCSubscribeStateChangeReasonOverStreamSubscribeLimit → const ByteRTCSubscribeStateChangeReason

@brief The number of streams the user has subscribed to has exceeded the limit.

ByteRTCSubscribeStateChangeReasonNoSubscribePermission → const ByteRTCSubscribeStateChangeReason

@brief The user was not permitted to subscribe to the stream.

Properties

$value → dynamic
final
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<ByteRTCSubscribeStateChangeReason>
A constant List of the values in this enum, in order of their declaration.