FlutterCallKit class

Constructors

FlutterCallKit()
factory
FlutterCallKit.private(MethodChannel channel)

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

checkIfBusy() Future<bool?>
Checks if there are any active calls on the device and returns a future with a boolean value (true if there're active calls, false otherwise).
checkIfBusy1() Future<int?>
Checks if there are any active calls on the device and returns a future with a boolean value (true if there're active calls, false otherwise).
checkSpeaker() Future<bool?>
Checks if the device speaker is on and returns a promise with a boolean value (true if speaker is on, false otherwise).
configure(IOSOptions options, {OnReceiveStartCallAction? didReceiveStartCallAction, VoidCallback? onProviderReset, OnAnswerCallAction? performAnswerCallAction, OnEndCallAction? performEndCallAction, OnActivateAudioSession? didActivateAudioSession, OnDeactivateAudioSession? didDeactivateAudioSession, OnIncomingCall? didDisplayIncomingCall, OnMuted? didPerformSetMutedCallAction, OnDTMF? didPerformDTMFAction, OnHold? didToggleHoldAction, OnStartCall? handleStartCallNotification}) → void
Configures with options and sets up handlers for incoming messages.
displayIncomingCall(String uuid, String handle, String mettingId, String localizedCallerName, {HandleType handleType = HandleType.phoneNumber, bool video = false, String? callerAvatar}) Future<void>
Display system UI for incoming calls
endAllCalls() Future<void>
End all calls that have been started on the device.
endCall(String uuid) Future<void>
When you finish an incoming/outgoing call.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rejectCall(String uuid) Future<void>
reportConnectedOutgoingCallWithUUID(String uuid) Future<void>
reportConnectingOutgoingCallWithUUID(String uuid) Future<void>
reportEndCallWithUUID(String uuid, EndReason reason) Future<void>
Report that the call ended without the user initiating
setMutedCall(String uuid, bool mute) Future<void>
Switch the mic on/off.
setOnHold(String uuid, bool hold) Future<void>
Set a call on/off hold.
setReachable() Future<void>
startCall(String uuid, String handle, String contactIdentifier, {HandleType handleType = HandleType.phoneNumber, bool video = false}) Future<void>
When you make an outgoing call, tell the device that a call is occurring.
toString() String
A string representation of this object.
inherited
updateDisplay(String uuid, String handle, String displayName, {HandleType handleType = HandleType.phoneNumber}) Future<void>
Use this to update the display after an outgoing call has started.

Operators

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

Static Methods

endReasonToInt(EndReason reason) int
handleTypeToString(HandleType handleType) String