Interface MGAsyncResult<T>


  • public interface MGAsyncResult<T>
    MGAsyncResult provides the result of the task that was posted by the MGAbstractAsyncHandler.
    • Method Detail

      • isSuccessful

        boolean isSuccessful()
        Defines if the operation executed successfully or not.
        Returns:
        Returns true if the operation executed successfully. Otherwise, it returns false.
      • getResult

        T getResult()
        Returns the result object of the operation.
        Returns:
        The result of the operation.
      • getErrorCode

        MobileGatewayError getErrorCode()
        Returns the numeric error code for the failed operation. If the operation is successful, this will return zero.
        Returns:
        MobileGatewayError - indicates the error object for the particular error occurred.