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) 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.
      • 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)

        Third-party push status callback

        Parameters:
        pushType - Push type
        action - Current operation, such as connection or token retrieval
        resultCode - 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 context
        notificationMessage - The notification message