NotificationIncomingCall class

Instance to use library functions.

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

Constructors

NotificationIncomingCall()

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 NotificationIncomingCall.
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(dynamic params) Future
End an Incoming/Outgoing call. On iOS, using Callkit(update a history into the Phone app). On Android, Nothing(only callback event listener).
showCallkitIncoming(dynamic params) Future
Show Callkit Incoming. On iOS, using Callkit. On Android, using a custom UI.
startCall(dynamic params) Future
Start an Outgoing call. On iOS, using Callkit(create a history into the Phone app). On Android, Nothing(only callback event listener).