CallKeep class

Instance to use library functions.

  • displayIncomingCall(CallKeepIncomingConfig)
  • startCall(CallKeepOutgoingConfig)
  • showMissCallNotification(CallKeepIncomingConfig)
  • endCall(String Uuid)
  • endAllCalls()

Properties

hashCode int
The hash code for this object.
no setterinherited
onEvent Stream<CallKeepEvent?>
Listen to a CallKeepEvent
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

activeCalls() Future<List<CallKeepCallData>>
Get active calls. On iOS: return active calls from Callkit. On Android: return active calls from SharedPrefs
close() → void
Closes the subscription for onEvent
displayIncomingCall(CallKeepIncomingConfig config) Future<void>
Show Incoming call UI. On iOS, using Callkit. On Android, using a custom UI.
endAllCalls() Future<void>
End all calls.
endCall(String uuid) Future<void>
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<String>
Get device push token VoIP. On iOS: return deviceToken for VoIP. On Android: returns empty String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
showMissCallNotification(CallKeepIncomingConfig config) Future<void>
Show Miss Call Notification. On Android only
startCall(CallKeepOutgoingConfig config) Future<void>
Start an Outgoing call. On iOS, using Callkit(create a history into the Phone app). On Android, Nothing(only callback event listener).
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance CallKeep
no setter