Class KiiPushInstallation

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void install​(java.lang.String registrationId)
      Register the id issued by GCM to the Kii cloud for current logged in user.
      abstract int install​(java.lang.String registrationId, KiiPushCallBack callback)
      Asynchronous call for install(String).
      abstract void uninstall​(java.lang.String registrationId)
      Uninstall the push by the id(issued by GCM) that is used for installation.
      abstract int uninstall​(java.lang.String registrationId, KiiPushCallBack callback)
      Asynchronous call for uninstall(String).
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • install

        public abstract int install​(@NonNull
                                    java.lang.String registrationId,
                                    @Nullable
                                    KiiPushCallBack callback)
        Asynchronous call for install(String). A background task will be initiated to execute the task.
        Parameters:
        registrationId - GCM registration id for the app in the particular device.
        callback - Notifies event.
        Returns:
        unique ID which is used to identify this async Task.
      • uninstall

        public abstract int uninstall​(@NonNull
                                      java.lang.String registrationId,
                                      @Nullable
                                      KiiPushCallBack callback)
        Asynchronous call for uninstall(String). A background task will be initiated to execute the task.
        Parameters:
        registrationId - GCM issued Id that is used when install the push.
        callback - Notifies event.
        Returns:
        unique ID which is used to identify this async Task.