ForwardStreamError enum Null safety

媒体流跨房间转发过程中的错误码

Constants

invalidArgument → const ForwardStreamError

参数异常

const ForwardStreamError(1)
invalidToken → const ForwardStreamError

token 错误

const ForwardStreamError(2)
notSupport → const ForwardStreamError

服务端不支持跨房间转发功能

const ForwardStreamError(5)
ok → const ForwardStreamError

正常

const ForwardStreamError(0)
remoteKicked → const ForwardStreamError

目标房间有相同 userID 的用户加入,转发中断

const ForwardStreamError(4)
response → const ForwardStreamError

服务端异常

const ForwardStreamError(3)
values → const List<ForwardStreamError>

A constant List of the values in this enum, in order of their declaration.

const List<ForwardStreamError>

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
index → int

The integer index of this enum.

final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
A string representation of this object. [...]
override

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited