Push Manager
The primary management class for push notification initialization configuration
Properties
Link copied to clipboard
public PushConfig pushConfig
Link copied to clipboard
public PushType serverPushType
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Handling of failed token request to third-party platform event
Link copied to clipboard
Network change reconfiguration event
Link copied to clipboard
public void onNotificationMessageArrived(Context context, PushType pushType, PushNotificationMessage pushNotificationMessage)
Callback triggered when a push notification is received.
Link copied to clipboard
public void onNotificationMessageClicked(Context context, Intent pushIntent, PushType pushType, PushNotificationMessage pushNotificationMessage)
Callback triggered when a push notification is clicked Push click events from RongCloud's built-in channel will not trigger here due to cross-process communication.
Link copied to clipboard
Receives transparently transmitted message data
Link copied to clipboard
Receives the token information returned by the third-party push notification platform.
public void onReceiveToken(Context context, PushType pushType, String token, String area, boolean internal)
Link copied to clipboard
public void onSuccessResponse(Context context, PushType pushType, List<TokenBean> tokenList, Map<String, String> failMap)
Configuration successful handling
Link copied to clipboard
Registers the corresponding platform's registration interface based on the push type.
Link copied to clipboard