onBackgroundCallEvent method

void onBackgroundCallEvent(
  1. BackgroundCallEventHandler handler
)

Registers a callback to handle the call events when the app is in the killed state.

This provided handler must be a top-level function and cannot be anonymous otherwise an ArgumentError will be thrown.

Implementation

void onBackgroundCallEvent(BackgroundCallEventHandler handler) {
  CleverTapSignedCallFlutterPlatform.instance.onBackgroundCallEvent(handler);
}