Class PushMessageReceiver

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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) 音视频事件通过广播路由给音视频模块处理。
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PushMessageReceiver

        PushMessageReceiver()
    • 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 - 当前的操作,连接或者获取token
        resultCode - 返回的错误码
      • handleVoIPNotification

         boolean handleVoIPNotification(Context context, PushNotificationMessage notificationMessage, String type)

        音视频事件通过广播路由给音视频模块处理。

        Parameters:
        context - 上下文
        notificationMessage - 通知消息