onKilledStateNotificationClicked static method

void onKilledStateNotificationClicked(
  1. CleverTapOnKilledStateNotificationClickedHandler handler
)

Set a message handler function which is called when the app is in the terminated or killed state.

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

Implementation

static void onKilledStateNotificationClicked(CleverTapOnKilledStateNotificationClickedHandler handler) {
  _registerKilledStateNotificationClickedHandler(handler);
}