NoopCallKit class

No-op default. The SDK still works for in-app (foreground) calling; the OS call UI simply isn't shown until a real CallKit implementation is registered.

Implemented types

Constructors

NoopCallKit()

Properties

actions → Stream<CallKitAction>
Actions the user takes from the system UI (answer / decline / mute / …).
no setteroverride
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
reportConnected(String callId) → Future<void>
Tell the OS the call connected (starts its timer / active-call UI).
override
reportEnded(String callId) → Future<void>
Tell the OS the call ended (dismisses the call UI).
override
reportIncoming({required String callId, required String handle, String? displayName, String? avatarUrl, bool hasVideo = false}) → Future<void>
Show the system incoming-call UI. Returns when displayed.
override
reportOutgoing({required String callId, required String handle, String? displayName}) → Future<void>
Start a native OUTGOING call entry (configures the VoIP audio session).
override
toString() → String
A string representation of this object.
inherited
voipToken() → Future<String?>
The current VoIP push token (APNs PushKit / FCM), for the app to register with the backend so incoming calls can wake a killed app. Null if none.
override

Operators

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