Push Event Listener
Functions
Link copied to clipboard
public abstract void afterNotificationMessageArrived(Context context, PushType pushType, PushNotificationMessage notificationMessage)
Callback triggered when a push notification delivery event is received from a third-party push platform.
Link copied to clipboard
Callback for failed token retrieval
Link copied to clipboard
Callback for obtaining the push token reporting server address
Link copied to clipboard
public abstract boolean onNotificationMessageClicked(Context context, PushType pushType, PushNotificationMessage notificationMessage)
Callback triggered when a notification is clicked.
Link copied to clipboard
Callback for obtaining the most suitable push notification type
Link copied to clipboard
Push configuration parsed when using the Push 2.0 plugin.
Link copied to clipboard
Starts push notification registration
Link copied to clipboard
This method is called when the SDK is about to report the push token.
Link copied to clipboard
Third-party push notification status callback
Link copied to clipboard
Received Push Token Callback
Link copied to clipboard
public abstract void onTokenReportResult(PushType reportType, int code, PushType finalType, String finalToken)
public void onTokenReportResult(PushType reportType, int code, PushType finalType, String finalToken, String message)
Token Reporting Callback
public void onTokenReportResult(PushType reportType, int code, PushType finalType, String finalToken, String message, Map<String, String> failMap)
Token report callback
Link copied to clipboard
public abstract boolean preNotificationMessageArrived(Context context, PushType pushType, PushNotificationMessage notificationMessage)
Callback before the notification is displayed.