CleverTapSignedCallFlutter class

Plugin class to handle the communication b/w the flutter app and Signed Call Native SDKs(Android/iOS)

Properties

callEventListener Stream<CallEventResult>
Returns the listener to listen the call-events stream
no setter
hashCode int
The hash code for this object.
no setterinherited
missedCallActionClickListener Stream<MissedCallActionClickResult>
Returns the listener to listen the call-events stream
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call({required String receiverCuid, required String callContext, Map<String, dynamic>? callOptions, required SignedCallVoIPCallHandler voIPCallHandler}) Future<void>
Initiates a VoIP call
disconnectSignallingSocket() Future<void>
Disconnects the signalling socket.
getBackToCall() Future<bool>
Attempts to return to the active call screen. It checks if there is an active call and if the client is on a VoIP call. If the both conditions are met, it launches the call screen
getCallState() Future<SCCallState?>
Retrieves the current call state.
hangUpCall() Future<void>
Ends the active call, if any.
init({required Map<String, dynamic> initProperties, required SignedCallInitHandler initHandler}) Future<void>
Initializes the Signed Call SDK
logout() Future<void>
Logs out the user from the Signed Call SDK session
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onBackgroundCallEvent(BackgroundCallEventHandler handler) → void
Registers a callback to handle the call events when the app is in the killed state.
onBackgroundMissedCallActionClicked(BackgroundMissedCallActionClickedHandler handler) → void
Registers a callback to handle the notification action clicked over missed call notification when the app is in the killed state.
setDebugLevel(LogLevel level) Future<void>
Enables or disables debugging. If enabled, see debug messages logcat utility. Debug messages are tagged as CleverTap.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

shared CleverTapSignedCallFlutter
no setter

Constants

sdkName → const String
sdkVersion → const int