Package io.rong.push

Class RongPushClient

  • All Implemented Interfaces:

    
    public class RongPushClient
    
                        

    /~chinese 注册GCM推送。必须在init()之前调用。

    该方法已废弃,请使用 setPushConfig

    • Constructor Detail

      • RongPushClient

        RongPushClient()
    • Method Detail

      • registerGCM

        @Deprecated() static void registerGCM(Context context)

        /~english

      • registerFCM

        @Deprecated() static void registerFCM(Context context)

        /~english

      • registerMiPush

        @Deprecated() static void registerMiPush(Context context, String miAppId, String miAppKey)

        /~english

      • registerHWPush

        @Deprecated() static void registerHWPush(Context context)

        /~english

      • registerMZPush

        @Deprecated() static void registerMZPush(Context context, String appId, String appKey)

        /~english

      • resolveHWPushError

        @Deprecated() static void resolveHWPushError(Activity activity, long errorCode)

        /~english

      • init

         static void init(Context context, String appKey)

        /~english

      • init

         static void init(Context context, String appKey, InitOption initOption, boolean isPushEnable)

        /~english

      • stopService

         static void stopService(Context context)

        /~english

      • redirected

         static void redirected(Context context)

        /~english

      • clearNotificationById

         static void clearNotificationById(Context context, int notificationId)

        /~english

      • recordNotificationEvent

         static void recordNotificationEvent(PushNotificationMessage pushNotificationMessage, PushType pushType)

        /~english

      • stopRongPush

        @Deprecated() static void stopRongPush(Context context)

        /~english

      • sendNotification

         static void sendNotification(Context context, PushNotificationMessage notificationMessage)

        /~english

      • sendNotification

         static void sendNotification(Context context, PushNotificationMessage notificationMessage, int left)

        /~english

      • checkManifest

        @Deprecated() static void checkManifest(Context context)

        /~english

      • recordPushArriveEvent

         static void recordPushArriveEvent(Context context, PushType pushType, PushNotificationMessage pushNotificationMessage)

        /~english

      • setPushConfig

         static void setPushConfig(PushConfig config)

        /~english