Package 

Interface RequestCallback


  • 
    public interface RequestCallback<T>
    
                        

    Callback used in some requests to Glia SDK.

    • Method Summary

      Modifier and Type Method Description
      abstract void onResult(T response, GliaException exception) Method that is fired when request succeeded or if error happened.
      • Methods inherited from class java.lang.Object

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

      • onResult

         abstract void onResult(T response, GliaException exception)

        Method that is fired when request succeeded or if error happened.

        Parameters:
        response - result returned if the request succeeded
        exception - error returned if the request failed