setPushEventListener

public static void setPushEventListener(PushEventListener listener)

Set the push event listener.

All third-party push-related events can be intercepted through this listener. RongCloud's default push notifications, which require cross-process communication, still need to be monitored via io.rong.push.notification.PushMessageReceiver.

Parameters

listener

The push event listener