SubscribeStateChangeReason enum

Inheritance
Available extensions

Values

SUBSCRIBE → const SubscribeStateChangeReason

@brief Requested to subscribe.

UNSUBSCRIBE → const SubscribeStateChangeReason

@brief Requested to unsubscribe.

REMOTE_PUBLISH → const SubscribeStateChangeReason

@brief The remote user published a stream.

REMOTE_UNPUBLISH → const SubscribeStateChangeReason

@brief The remote user removed a stream.

STREAM_FAILED_5XX → const SubscribeStateChangeReason

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

STREAM_FAILED_404 → const SubscribeStateChangeReason

@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.

OVER_STREAM_SUBSCRIBE_LIMIT → const SubscribeStateChangeReason

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

NO_SUBSCRIBE_PERMISSION → const SubscribeStateChangeReason

@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<SubscribeStateChangeReason>
A constant List of the values in this enum, in order of their declaration.