Interface App.Callback<T>

  • Type Parameters:
    T - Type returned if the request was a success.
    Enclosing class:
    App

    public static interface App.Callback<T>
    Callback for async methods available to the App.
    • Method Detail

      • onResult

        void onResult​(App.Result<T> result)
        Returns the result of the request when available.
        Parameters:
        result - the request response.