MethodChannelCleverTapSignedCallFlutter class
An implementation of CleverTapSignedCallFlutterPlatform that provides communication b/w flutter and platform.
- Inheritance
-
- Object
- CleverTapSignedCallFlutterPlatform
- MethodChannelCleverTapSignedCallFlutter
Constructors
Properties
-
callEventsListener
→ Stream<
CallEventResult> -
Broadcasts the CallEvent data stream to listen the real-time changes in the call-state.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
-
missedCallActionClickListener
→ Stream<
MissedCallActionClickResult> -
Broadcasts the MissedCallActionClickResult data stream to listen the
missed call action click events.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
String receiverCuid, String callContext, Map< String, dynamic> ? callOptions, SignedCallVoIPCallHandler voIPCallHandler) → Future<void> -
Initiates a VoIP call
override
-
disconnectSignallingSocket(
) → Future< void> -
Disconnects the signalling socket
override
-
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
override
-
getCallState(
) → Future< SCCallState?> -
Retrieves the current call state.
override
-
hangUpCall(
) → Future< void> -
Ends the active call, if any.
override
-
init(
Map< String, dynamic> initProperties, SignedCallInitHandler initHandler) → Future<void> -
Initializes the Signed Call SDK
override
-
logout(
) → Future< void> -
Logs out the user from the Signed Call SDK session
override
-
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.
override
-
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.
override
-
setDebugLevel(
LogLevel logLevel) → Future< void> -
Enables or disables debugging. If enabled, see debug messages in Android's logcat utility.
Debug messages are tagged as CleverTap.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
trackSdkVersion(
Map< String, dynamic> versionTrackingMap) → Future<void> -
Passes the current SDK version for version tracking
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited