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

    Modifier and Type
    Method
    Description
    void
    call(T obj)
    Make the asynchronous response.
    void
    Called if there was an error retrieving the calendar response.
  • Method Details

    • 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.