ByteRTCPublishStateChangeReason enum

Inheritance
Available extensions

Values

ByteRTCPublishStateChangeReasonPublish → const ByteRTCPublishStateChangeReason

@brief Requested to publish.

ByteRTCPublishStateChangeReasonUnpublish → const ByteRTCPublishStateChangeReason

@brief Requested to remove.

ByteRTCPublishStateChangeReasonNoPublishPermission → const ByteRTCPublishStateChangeReason

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

ByteRTCPublishStateChangeReasonOverStreamPublishLimit → const ByteRTCPublishStateChangeReason

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

ByteRTCPublishStateChangeReasonMultiRoomUnpublishFailed → const ByteRTCPublishStateChangeReason

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

ByteRTCPublishStateChangeReasonPublishStreamFailed → const ByteRTCPublishStateChangeReason

@brief Failed to publish due to the server error.

ByteRTCPublishStateChangeReasonPublishStreamForbidden → const ByteRTCPublishStateChangeReason

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

ByteRTCPublishStateChangeReasonUserInPublish → const ByteRTCPublishStateChangeReason

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

ByteRTCPublishStateChangeReasonStreamPublishByOther → const ByteRTCPublishStateChangeReason

@brief Another user publishes a stream with the same streamid, which causes the stream you are publishing to be removed.

ByteRTCPublishStateChangeReasonStreamIdInvalid → const ByteRTCPublishStateChangeReason

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