Package io.rong.push.notification
Class PushMessageReceiver
-
- All Implemented Interfaces:
public class PushMessageReceiver
-
-
Constructor Summary
Constructors Constructor Description PushMessageReceiver()
-
Method Summary
Modifier and Type Method Description final void
onReceive(Context context, Intent intent)
boolean
onNotificationMessageArrived(Context context, PushType pushType, PushNotificationMessage notificationMessage)
boolean
onNotificationMessageClicked(Context context, PushType pushType, PushNotificationMessage notificationMessage)
void
onThirdPartyPushState(PushType pushType, String action, long resultCode)
Third-party push status callback boolean
handleVoIPNotification(Context context, PushNotificationMessage notificationMessage, String type)
The audio and video events are routed to the audio and video module for processing via broadcast. -
-
Method Detail
-
onReceive
final void onReceive(Context context, Intent intent)
-
onNotificationMessageArrived
boolean onNotificationMessageArrived(Context context, PushType pushType, PushNotificationMessage notificationMessage)
-
onNotificationMessageClicked
boolean onNotificationMessageClicked(Context context, PushType pushType, PushNotificationMessage notificationMessage)
-
onThirdPartyPushState
void onThirdPartyPushState(PushType pushType, String action, long resultCode)
Third-party push status callback
- Parameters:
pushType
- Push typeaction
- Current operation, such as connection or token retrievalresultCode
- Returned error code
-
handleVoIPNotification
boolean handleVoIPNotification(Context context, PushNotificationMessage notificationMessage, String type)
The audio and video events are routed to the audio and video module for processing via broadcast.
- Parameters:
context
- The contextnotificationMessage
- The notification message
-
-
-
-