PublishStateChangeReason enum

Inheritance
Available extensions

Values

PUBLISH → const PublishStateChangeReason

@brief Requested to publish.

UNPUBLISH → const PublishStateChangeReason

@brief Requested to remove.

NO_PUBLISH_PERMISSION → const PublishStateChangeReason

@brief The token the user used was not permitted to publish.

OVER_STREAM_PUBLISH_LIMIT → const PublishStateChangeReason

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

MULTIROOM_UNPUBLISH_FAILED → const PublishStateChangeReason

@brief The stream failed to remove from a room when you are publishing the stream in two or more rooms.

PUBLISH_STREAM_FAILED → const PublishStateChangeReason

@brief Failed to publish due to the server error.

PUBLISH_STREAM_FORBIDEN → const PublishStateChangeReason

@brief The user who tried to publish a stream is not a host. Call setUserVisibility{@link #RTCRoom#setUserVisibility} to change the user role.

USER_IN_PUBLISH → const PublishStateChangeReason

@brief The user who tried to publish a stream has already published a stream in a room.

STREAM_PUBLISH_BY_OTHER → const PublishStateChangeReason

@brief The user who tried to publish a stream has already published a stream in a room.

STREAM_ID_INVALID → const PublishStateChangeReason

@brief Stream ID is invalid.

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