Interface CompletionHandlerWithResult<T>

  • Type Parameters:
    T - The type of the returned object on success.

    public interface CompletionHandlerWithResult<T>
    • Method Detail

      • onSuccess

        void onSuccess​(T result)
        Reports that the operation was successfully completed.
        Parameters:
        result - Object that indicates the result of the current operation
      • onError

        void onError​(CallException error)
        Reports that the operation has failed.
        Parameters:
        error - Information about failure details.