FlutterVoipKit class
Constructors
- FlutterVoipKit()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onEvent
→ Stream<
CallEvent?> -
Stream of call events
no setter
-
onTokenRaw
→ Stream<
String> -
Stream of VoIP token updates (iOS only)
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
activeCalls(
) → Future< List> - Get list of active calls
-
dispose(
) → void - Dispose the VoIP service
-
endAllCalls(
) → Future< void> - End all active calls
-
endCall(
String uuid) → Future< void> - End a specific call by UUID
-
getFcmToken(
) → Future< String?> - Get FCM Token (For Android / iOS Standard Notifications) NOTE: For iOS VoIP notifications, use getVoIPToken instead.
-
getVoIPToken(
) → Future< String?> - Get VoIP Token (iOS only) Returns null on Android or if not yet received
-
holdCall(
String uuid, bool isOnHold) → Future< void> - Hold or Unhold a call
-
initialize(
{dynamic onEvent(CallEvent)?}) → Future< void> -
Initialize the VoIP service
onEventis a callback when the user accepts the call -
muteCall(
String uuid, bool isMuted) → Future< void> - Mute or Unmute a call
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
showIncomingCall(
Map< String, dynamic> data) → Future<void> - Show incoming call UI (Uses generic data map)
-
startCall(
{required String uuid, required String handle, String? nameCaller, String? avatar, bool hasVideo = false}) → Future< void> - Start an outgoing call
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited