SipControllerError class

Error state used when SIP actions fail.

Contains an error message and the last known SIP state data.

Inheritance

Constructors

SipControllerError({required String message, required SipConfigModel sipConfig, bool sipStarted = false, int callState = 0, MediaStream? localStream, MediaStream? remoteStream, Call? currentCall, Duration callDuration = Duration.zero})
Creates an error state with a descriptive message and last known SIP data.
const

Properties

callDuration → Duration
Current duration of the active call. Updated continuously when the call is in confirmed state.
finalinherited
callState → int
Current SIP call state represented as an integer.
finalinherited
currentCall → Call?
The currently active SIP call session, if any.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
localStream → MediaStream?
Local audio/video stream captured from device microphone/camera.
finalinherited
message → String
Description of the error encountered.
final
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
remoteStream → MediaStream?
Remote audio/video stream received from peer.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sipConfig → SipConfigModel
Contains SIP account configuration (server, username, password, etc.).
finalinherited
sipStarted → bool
Indicates whether SIP service has been started and registered.
finalinherited
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
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