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
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

activeCalls() Future<List>
Get list of active calls
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 mostly)
holdCall(String uuid, bool isOnHold) Future<void>
Hold or Unhold a call
initialize({dynamic onEvent(CallEvent)?}) Future<void>
Initialize the VoIP service onEvent is 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