ReturnStatus enum

API call result.

Inheritance

Constructors

ReturnStatus()
const

Values

success → const ReturnStatus

Success.

failure → const ReturnStatus

Failure.

parameterErr → const ReturnStatus

Invalid parameter.

wrongState → const ReturnStatus

API status error.

hasInRoom → const ReturnStatus

Failure. The user is already in the room.

hasInLogin → const ReturnStatus

Failure. The user has already logged in.

hasInEchoTest → const ReturnStatus

Failure. The user is already in a pre-call test.

neitherVideoNorAudio → const ReturnStatus

Failure. Neither video nor audio is captured.

roomIdInUse → const ReturnStatus

Failure. The roomId is already in use.

screenNotSupport → const ReturnStatus

Failure. Screen stream is not supported.

notSupport → const ReturnStatus

Failure. This operation is not supported.

resourceOverflow → const ReturnStatus

Failure. Resource overflow.

audioNoFrame → const ReturnStatus

Failure. No audio frame.

audioNotImplemented → const ReturnStatus

Failure. No implemented.

audioNoPermission → const ReturnStatus

Failure. The audio capture device does not have microphone use permission, and the initialization of the device failed.

audioDeviceNotExists → const ReturnStatus

Failure. The device does not exist. This value is returned if there is currently no device or if the device has been removed.

audioDeviceFormatNotSupport → const ReturnStatus

Failure. The device audio format is not supported.

audioDeviceNoDevice → const ReturnStatus

Failure. No device in system.

audioDeviceCannotUse → const ReturnStatus

Failure. The current device is not available and need to be replaced.

audioDeviceInitFailed → const ReturnStatus

Device initialization failed due to a system error.

audioDeviceStartFailed → const ReturnStatus

Device start-up failed due to a system error.

nativeInValid → const ReturnStatus

Failure. The native layer is not initialized and the engine is invalid.

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.