Interface Callback<T>

  • Type Parameters:
    T - The required class for the callback.

    public interface Callback<T>
    Used for creating asynchronous calls that respond to calendar requests.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void call​(T obj)
      Make the asynchronous response.
      void onError()
      Called if there was an error retrieving the calendar response.
    • Method Detail

      • call

        void call​(T obj)
        Make the asynchronous response.
        Parameters:
        obj - The object to respond with.
      • onError

        void onError()
        Called if there was an error retrieving the calendar response.