ReturnStatus enum

方法调用结果。

Inheritance

Constructors

ReturnStatus()
const

Values

success → const ReturnStatus

成功。

failure → const ReturnStatus

失败。

parameterErr → const ReturnStatus

参数错误。

wrongState → const ReturnStatus

接口状态错误。

hasInRoom → const ReturnStatus

失败,用户已在房间内。

hasInLogin → const ReturnStatus

失败,用户已登录。

hasInEchoTest → const ReturnStatus

失败,用户已经在进行通话回路测试中。

neitherVideoNorAudio → const ReturnStatus

失败,音视频均未采集。

roomIdInUse → const ReturnStatus

失败,该 roomId 已被使用。

screenNotSupport → const ReturnStatus

失败,屏幕流不支持。

notSupport → const ReturnStatus

失败,不支持该操作。

resourceOverflow → const ReturnStatus

失败,资源已占用。

audioNoFrame → const ReturnStatus

失败,没有音频帧。

audioNotImplemented → const ReturnStatus

失败,未实现。

audioNoPermission → const ReturnStatus

失败,采集设备无麦克风权限,尝试初始化设备失败。

audioDeviceNotExists → const ReturnStatus

失败,设备不存在。当前没有设备或设备被移除时返回该值。

audioDeviceFormatNotSupport → const ReturnStatus

失败,设备音频格式不支持。

audioDeviceNoDevice → const ReturnStatus

失败,系统无可用设备。

audioDeviceCannotUse → const ReturnStatus

失败,当前设备不可用,需更换设备。

audioDeviceInitFailed → const ReturnStatus

系统错误,设备初始化失败。

audioDeviceStartFailed → const ReturnStatus

系统错误,设备开启失败。

nativeInValid → const ReturnStatus

失败。底层未初始化,engine 无效。

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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<ReturnStatus>
A constant List of the values in this enum, in order of their declaration.