onMessageReceived

fun onMessageReceived(context: Context, payload: Bundle)

Callback which is triggered when a push payload is received. This method is responsible for creating the notification object and posting the notification.

Parameters

context

instance of Context

payload

push payload