ResultCode enum

Result value.

Note The result value returned by PANO methods, indicating the execution status.

返回。

Note PANO方法返回值,指示执行的情况。

Inheritance

Constructors

ResultCode()
const

Values

OK → const ResultCode

Execution succeed

执行成功。

Failed → const ResultCode

Execution failed

执行失败。

Fatal → const ResultCode

Fatal error

致命错误。

InvalidArgs → const ResultCode

Invalid argument

非法参数。

InvalidState → const ResultCode

Invalid state

非法状态。

InvalidIndex → const ResultCode

Invalid index

无效索引。

AlreadyExist → const ResultCode

The object already exists

对象已存在。

NotExist → const ResultCode

The object does not exist

对象不存在。

NotFound → const ResultCode

The object is not found

对象没发现。

NotSupported → const ResultCode

The method is not supported

方法不支持。

NotImplemented → const ResultCode

The method is not implemented

方法未实现。

NotInitialized → const ResultCode

The object is not initialized

对象未初始化。

LimitReached → const ResultCode

The resource limit is reached

已达上限。

NoPrivilege → const ResultCode

No privilege to do

没有权限执行该操作。

InProgress → const ResultCode

Operation in progress

操作正在进行中。

WrongThread → const ResultCode

The operation thread is wrong

操作的线程错误。

Timeout → const ResultCode

The operation thread is timeout.

操作超时。

Aborted → const ResultCode

The operation thread is aborted.

操作终止。

TooManyOps → const ResultCode

Too many operations.

操作次数过多。

AuthFailed → const ResultCode

Authentication failed

认证失败。

UserRejected → const ResultCode

The user is rejected

用户被拒绝。

UserExpelled → const ResultCode

The user is expelled

用户被驱逐。

UserDuplicate → const ResultCode

The user ID is duplicate

用户 ID 重复。

ChannelClosed → const ResultCode

The channel is closed

频道被关闭。

ChannelFull → const ResultCode

The channel capacity is full

频道容量已满。

ChannelLocked → const ResultCode

The channel is locked

频道被锁定。

ChannelModeMismatch → const ResultCode

The channel mode is mismatch

频道模式不匹配。

NetworkError → const ResultCode

A network error occurred

出现网络错误。

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