Package io.rong.push

Class PushManager

  • All Implemented Interfaces:

    
    public class PushManager
    
                        

    /~english

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      PushConfig getPushConfig()
      long getConfigId()
      PushType getServerPushType()
      static PushManager getInstance()
      void init(Context context, PushConfig pushConfig)
      void onReceiveToken(Context context, PushType pushType, String token) /~english
      void onReceiveToken(Context context, PushType pushType, String token, String area) /~english
      void onReceiveToken(Context context, PushType pushType, String token, String area, boolean internal)
      void onSuccessResponse(Context context, PushType pushType, List<TokenBean> tokenList, Map<String, String> failMap) /~english
      void onNetworkChangeEvent(Context context) /~english
      void registerRong(Context context, PushType pushType) /~english
      void onErrorResponse(Context context, PushType pushType, String action, long resultCode) /~english
      void onNotificationMessageArrived(Context context, PushType pushType, PushNotificationMessage pushNotificationMessage) /~english
      void onNotificationMessageClicked(Context context, Intent pushIntent, PushType pushType, PushNotificationMessage pushNotificationMessage) /~english
      void onPushRawData(Context context, PushType pushType, String data) /~english
      void updatePushServerInfoFromToken(String token)
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • init

         void init(Context context, PushConfig pushConfig)
      • onReceiveToken

         void onReceiveToken(Context context, PushType pushType, String token)

        /~english

      • onReceiveToken

         void onReceiveToken(Context context, PushType pushType, String token, String area)

        /~english

      • onReceiveToken

         void onReceiveToken(Context context, PushType pushType, String token, String area, boolean internal)
      • onSuccessResponse

         void onSuccessResponse(Context context, PushType pushType, List<TokenBean> tokenList, Map<String, String> failMap)

        /~english

      • registerRong

         void registerRong(Context context, PushType pushType)

        /~english

      • onErrorResponse

         void onErrorResponse(Context context, PushType pushType, String action, long resultCode)

        /~english

      • onNotificationMessageArrived

         void onNotificationMessageArrived(Context context, PushType pushType, PushNotificationMessage pushNotificationMessage)

        /~english

      • onNotificationMessageClicked

         void onNotificationMessageClicked(Context context, Intent pushIntent, PushType pushType, PushNotificationMessage pushNotificationMessage)

        /~english

      • onPushRawData

         void onPushRawData(Context context, PushType pushType, String data)

        /~english