FlutterCallkitIncoming class
Instance to use library functions.
- showCallkitIncoming(dynamic)
- startCall(dynamic)
- endCall(dynamic)
- endAllCalls()
Constructors
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
-
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
-
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).