FlutterCallkitIncoming class

Instance to use library functions.

  • showCallkitIncoming(dynamic)
  • startCall(dynamic)
  • endCall(dynamic)
  • endAllCalls()
  • callConnected(dynamic)

Constructors

FlutterCallkitIncoming()

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

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

Static Properties

onEvent Stream<CallEvent?>
Listen to event callback from FlutterCallkitIncoming.
no setter

Static Methods

activeCalls() Future
Get active calls. On iOS: return active calls from Callkit. On Android: only return last call
endAllCalls() Future
End all calls.
endCall(String id) Future
End an Incoming/Outgoing call. On iOS, using Callkit(update a history into the Phone app). On Android, Nothing(only callback event listener).
getDevicePushTokenVoIP() Future
Get device push token VoIP. On iOS: return deviceToken for VoIP. On Android: return Empty
hideCallkitIncoming(CallKitParams params) Future
Hide notification call for Android. Only Android
holdCall(String id, {bool isOnHold = true}) Future
Hold an Ongoing call. On iOS, using Callkit(update the ongoing call ui). On Android, Nothing(only callback event listener).
isMuted(String id) Future<bool>
Get Callkit Mic Status (muted/unmuted). On iOS, using Callkit(update call ui). On Android, Nothing(only callback event listener).
muteCall(String id, {bool isMuted = true}) Future
Muting an Ongoing call. On iOS, using Callkit(update the ongoing call ui). On Android, Nothing(only callback event listener).
requestNotificationPermission(dynamic data) Future
Request permisstion show notification for Android(13) Only Android: show request permission post notification for Android 13+
setCallConnected(String id) Future
Set call has been connected successfully. On iOS, using Callkit(update a history into the Phone app). On Android, Nothing(only callback event listener).
showCallkitIncoming(CallKitParams params) Future
Show Callkit Incoming. On iOS, using Callkit. On Android, using a custom UI.
showMissCallNotification(CallKitParams params) Future
Show Miss Call Notification. Only Android
silenceEvents() Future
Silence CallKit events
startCall(CallKitParams params) Future
Start an Outgoing call. On iOS, using Callkit(create a history into the Phone app). On Android, Nothing(only callback event listener).
unsilenceEvents() Future
Unsilence CallKit events