Methods
answer ()
→ Future <bool ? >
Answers incoming call
getSid ()
→ Future <String ? >
Gets the active call's SID. This will be null until the first Ringing event occurs
hangUp ()
→ Future <bool ? >
Hangs up active call
holdCall ({bool holdCall = true })
→ Future <bool ? >
Puts active call on hold
isBluetoothOn ()
→ Future <bool ? >
Query's bluetooth status, true if bluetooth is on.
isHolding ()
→ Future <bool ? >
Query's mute status of call, true if call is muted
isMuted ()
→ Future <bool ? >
Query's mute status of call, true if call is muted
isOnCall ()
→ Future <bool >
Checks if there is an ongoing call
isOnSpeaker ()
→ Future <bool ? >
Switches Audio Device
Query's speaker output status, true if on loud speaker.
logLocalEvent (String description , {String prefix = "LOG" , String separator = "|" })
→ void
Logs event to EventChannel.
This is used to send events to the EventChannel for integration into existing communication flow.
The event will be sent as a String with the following format:
inherited
logLocalEventEntries (List <String > entries , {String prefix = "LOG" , String separator = "|" })
→ void
Logs event to EventChannel, but uses List.join with separator
to join prefix
and description
.
This is used to send events to the EventChannel for integration into existing communication flow.
The event will be sent as a String with the following format:
inherited
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
place ({required String from , required String to , })
→ Future <bool ? >
Places new call
sendDigits (String digits )
→ Future <bool ? >
Send digits to active call
toggleBluetooth ({bool bluetoothOn = true })
→ Future <bool ? >
Toggles bluetooth for active call
toggleMute (bool isMuted )
→ Future <bool ? >
Toggles mute state to provided value
toggleSpeaker (bool speakerIsOn )
→ Future <bool ? >
Toggles speaker state to provided value
toString ()
→ String
A string representation of this object.
inherited