Call class

Inheritance

Constructors

Call()

Properties

activeCall ActiveCall?
Gets active call
getter/setter pairinherited
callEventsController StreamController<String>
no setterinherited
callEventsStream Stream<String>
no setterinherited
eventChannel EventChannel
Communication to flutter code
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sharedChannel MethodChannel
Communication with native code
no setterinherited

Methods

answer() Future<bool?>
Answers incoming call
inherited
getSid() Future<String?>
Gets the active call's SID. This will be null until the first Ringing event occurs
inherited
hangUp() Future<bool?>
Hangs up active call
inherited
holdCall({bool holdCall = true}) Future<bool?>
Holds active call holdCall is respected in web only, in native it will always toggle the hold state. In future, native mobile will also respect the holdCall value.
inherited
isBluetoothOn() Future<bool?>
Query's bluetooth status, true if bluetooth is on.
inherited
isHolding() Future<bool?>
Query's active call holding state
inherited
isMuted() Future<bool?>
Query's mute status of call, true if call is muted
inherited
isOnCall() Future<bool>
Checks if there is an ongoing call
inherited
isOnSpeaker() Future<bool?>
Switches Audio Device Query's speaker output status, true if on loud speaker.
inherited
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, Map<String, dynamic>? extraOptions}) Future<bool?>
Places new call
inherited
sendDigits(String digits) Future<bool?>
Send digits to active call
inherited
toggleBluetooth({bool bluetoothOn = true}) Future<bool?>
Toggles bluetooth for active call
inherited
toggleMute(bool isMuted) Future<bool?>
Toggles mute state to provided value
inherited
toggleSpeaker(bool speakerIsOn) Future<bool?>
Toggles speaker state to provided value
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited