onNotificationMessageArrived

public void onNotificationMessageArrived(Context context, PushType pushType, PushNotificationMessage pushNotificationMessage)

Callback triggered when a push notification is received. When using third-party notification methods, this event is called after the notification is displayed by the mobile system layer.

When this method is called, the notification has already been displayed, so it is not possible to customize the notification appearance.

Parameters

context

The context

pushType

The type of push notification

pushNotificationMessage

The notification message