NexusCallKit class abstract
Native calling seam — CallKit (iOS) / ConnectionService (Android) + VoIP push.
The SDK reports call lifecycle to the OS so incoming calls ring on the lock
screen and in-call actions come from the system UI. Provide a real
implementation (e.g. over flutter_callkit_incoming) via
Nexus.instance.voice.useCallKit(...). The default is a no-op so the SDK runs
without the native dependency.
- Implementers
Constructors
Properties
-
actions
→ Stream<
CallKitAction> -
Actions the user takes from the system UI (answer / decline / mute / …).
no setter
- 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).
-
reportEnded(
String callId) → Future< void> - Tell the OS the call ended (dismisses the call UI).
-
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.
-
reportOutgoing(
{required String callId, required String handle, String? displayName}) → Future< void> - Start a native OUTGOING call entry (configures the VoIP audio session).
-
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.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited