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)
第三方push状态回调 boolean
handleVoIPNotification(Context context, PushNotificationMessage notificationMessage, String type)
音视频事件通过广播路由给音视频模块处理。 -
-
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)
第三方push状态回调
- Parameters:
pushType
- push类型action
- 当前的操作,连接或者获取tokenresultCode
- 返回的错误码
-
handleVoIPNotification
boolean handleVoIPNotification(Context context, PushNotificationMessage notificationMessage, String type)
音视频事件通过广播路由给音视频模块处理。
- Parameters:
context
- 上下文notificationMessage
- 通知消息
-
-
-
-