onNotificationClicked

fun onNotificationClicked(@NonNull context: Context, message: MiPushMessage)

Helper API to pass the click callback received from Mi to MoEngage. This API takes care of redirection as well. Do not add logic to redirect the user SDK will take care of it.

Since

2.0.00

Parameters

context

instance of Context

message

instance of MiPushMessage