ClientRoleChangeFailedReason enum

Reason for failing to switch user roles.

Inheritance
Available extensions
Annotations
  • @JsonEnum.new(alwaysCreate: true)

Values

clientRoleChangeFailedTooManyBroadcasters → const ClientRoleChangeFailedReason

1: The number of broadcasters in the channel has reached the limit. This enum is only reported when the 128-user feature is enabled. The broadcaster limit depends on the actual number configured when enabling the 128-user feature.

clientRoleChangeFailedNotAuthorized → const ClientRoleChangeFailedReason

2: The request is rejected by the server. It is recommended to prompt the user to try switching roles again.

clientRoleChangeFailedRequestTimeOut → const ClientRoleChangeFailedReason

3: The request timed out. It is recommended to prompt the user to check the network connection and try switching roles again. Deprecated: This enum value is deprecated as of v4.4.0 and is not recommended for use.

clientRoleChangeFailedConnectionFailed → const ClientRoleChangeFailedReason

4: Network connection lost. You can troubleshoot the specific cause of the network failure based on the reason reported by onConnectionStateChanged. Deprecated: This enum value is deprecated as of v4.4.0 and is not recommended for use.

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