Interface RemoteNotificationClient.CallbackListenerWithResult

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit onSuccess(ServiceResult.SUCCESS<Array<String>> result) This will be called when operation is successful.
      abstract Unit onError(Throwable e) This will be called when operation fails.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onSuccess

         abstract Unit onSuccess(ServiceResult.SUCCESS<Array<String>> result)

        This will be called when operation is successful. This function is called in UI Thread

      • onError

         abstract Unit onError(Throwable e)

        This will be called when operation fails. This function is called in UI Thread

        Parameters:
        e - Exception detail of error.