NECallError class

Collection of error codes that can occur during calls.

These values are typically returned by the SDK or included in SimpleResponse instances to indicate specific failure states.

Constructors

NECallError()

Properties

hashCode int
The hash code for this object.
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

stateAcceptCalling → const int
Invalid state: accept requested while calling.
stateAcceptIdle → const int
Invalid state: accept requested while idle.
stateAcceptOnTheCall → const int
Invalid state: accept requested while already in a call.
stateCallCalled → const int
Invalid state: already in called state when placing a new call.
stateCallCalling → const int
Invalid state: already in calling state when placing a new call.
stateCallOnTheCall → const int
Invalid state: already in an active call when placing a new call.
stateCancelCalled → const int
Invalid state: cancel requested while called.
stateCancelIdle → const int
Invalid state: cancel requested while idle.
stateCancelOnTheCall → const int
Invalid state: cancel requested while in an active call.
stateGroupInviteCalled → const int
Invalid state: group invite requested while called.
stateGroupInviteIdle → const int
Invalid state: group invite requested while idle.
stateHangupIdle → const int
Invalid state: hangup requested while idle.
stateLeaveCalled → const int
Invalid state: leave requested while called.
stateLeaveCalling → const int
Invalid state: leave requested while calling.
stateLeaveIdle → const int
Invalid state: leave requested while idle.
stateRejectCalling → const int
Invalid state: reject requested while calling.
stateRejectIdle → const int
Invalid state: reject requested while idle.
stateRejectOnTheCall → const int
Invalid state: reject requested while already in a call.
stateSwitchCalled → const int
Invalid state: switch requested while called.
stateSwitchCalling → const int
Invalid state: switch requested while calling.
stateSwitchIdle → const int
Invalid state: switch requested while idle.
unKnow → const int
Unknown error.