Rong Push Client
Functions
Link copied to clipboard
Link copied to clipboard
Helper method to verify whether the RCPush service configuration in the AndroidManifest is correct.
Link copied to clipboard
Clears all notification messages in the notification bar.
Link copied to clipboard
Clears all push notifications and background message notifications.
Link copied to clipboard
Clears all push notifications from background push services.
Link copied to clipboard
Clears the notification bar based on the notification ID.
Link copied to clipboard
Retrieves the currently used push notification type.
Link copied to clipboard
Retrieves the push event listener set at the application layer.
Link copied to clipboard
Tracks Huawei push click events.
Link copied to clipboard
Records the click event of a push notification when using the backend push feature in the Developer Console.
public static void recordNotificationEvent(PushNotificationMessage pushNotificationMessage, PushType pushType)
Uploads the click event of a push notification.
Link copied to clipboard
public static void recordPushArriveEvent(Context context, PushType pushType, PushNotificationMessage pushNotificationMessage)
Upload push delivery event The push delivery rate in the developer console is calculated based on this event uploaded by the client.
Link copied to clipboard
Push service redirection.
Link copied to clipboard
Registers for FCM push notifications.
Link copied to clipboard
Registers for GCM push notifications.
Link copied to clipboard
Registers for Huawei push notifications.
Link copied to clipboard
Registers Xiaomi Push.
Link copied to clipboard
Registers for Meizu push notifications.
Link copied to clipboard
Handles the logic for upgrading the HMS Core version below 3.0, which cannot obtain the token and triggers a pop-up prompt.
Link copied to clipboard
Note: After upgrading Huawei Push to version 3.0, this interface has been deprecated and calling it has no effect.
Link copied to clipboard
public static void sendNotification(Context context, PushNotificationMessage notificationMessage, int left)
Sends a notification.
Link copied to clipboard
Link copied to clipboard
Sets the notification ringtone URI, which must be an absolute path.
Link copied to clipboard
Configures push-related settings.
Link copied to clipboard
Set the push event listener.
Link copied to clipboard
Stops the RCpush notification service.
Link copied to clipboard
Link copied to clipboard
Stops RCpush services.
Link copied to clipboard