Call class
The call's state and control
Constructors
Properties
- callState ↔ CallState?
-
The call's state: active, paused and others
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
Unique identifier
getter/setter pair
- isInConference ↔ bool?
-
If the call is in local conference or not
getter/setter pair
- isMuted ↔ bool?
-
Is your microphone on this line muted
getter/setter pair
- isOutDirection ↔ bool?
-
The call's direction: incoming or outgoing
getter/setter pair
- number ↔ String?
-
Call number
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
accept(
) → Future< void> - Accept an incoming call
-
addToConference(
) → Future< void> - Add the call an existing local conference The conference should exist
-
createConference(
{required String otherCallId}) → Future< void> -
Create a local conference with another call by its identifier
There can be only one local conference
If the local conference exists the method will add new participants into it
otherCallId
the call's identifier for a local conference -
hold(
) → Future< void> - Place the call on hold
-
mute(
) → Future< void> - Disable microphone
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeFromConference(
) → Future< void> - Remove the call from an existing local conference
-
resume(
) → Future< void> - Resume the call which is on hold
-
sendDtmf(
{required String sequence}) → Future< void> -
Send DTMF digits sequence
sequence
the sequence of the DTMF digits -
terminate(
) → Future< void> - Finish the call or reject the incoming call
-
toString(
) → String -
A string representation of this object.
inherited
-
transfer(
{required String targetNumber}) → Future< void> -
Transfer the call unconditionally to a number
targetNumber
a number to transfer the call to -
unMute(
) → Future< void> - Enable microphone
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited