PublishStateChangeReason enum

{zh} * @detail keytype @brief 发布状态变化原因

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.