public class CalDavCalendarSource
- Object
- CalendarSource
- CalDavCalendarSource
Standards-based CalDAV source. Pass the account’s calendar-home URL; the
source discovers collections below it and uses RFC 6578 sync tokens when
the server advertises them.
Constructors
Methods
Inherited methods
Constructor details
CalDavCalendarSource
public CalDavCalendarSource(String id, String displayName, String calendarHomeUrl, CalDavAuthentication authentication)CalDavCalendarSource
public CalDavCalendarSource(String id, String displayName, String calendarHomeUrl, CalDavAuthentication authentication, CalendarHttpTransport transport)Method details
getCapabilities
public CalendarCapabilities getCapabilities()getAuthorizationStatus
public CalendarAuthorizationStatus getAuthorizationStatus(CalendarAccess access)requestAuthorization
public AsyncResource<CalendarAuthorizationStatus> requestAuthorization(CalendarAccess access)listCalendars
public AsyncResource<CalendarPage<CalendarInfo>> listCalendars(CalendarInfo.ContentType type, String pageToken)queryEvents
public AsyncResource<CalendarPage<CalendarEvent>> queryEvents(CalendarQuery query)getEvent
public AsyncResource<CalendarEvent> getEvent(String calendarId, String eventId)saveEvent
public AsyncResource<CalendarEvent> saveEvent(CalendarEvent event, CalendarMutationScope scope)deleteEvent
public AsyncResource<Boolean> deleteEvent(String calendarId, String eventId, CalendarMutationScope scope, String version)queryTasks
public AsyncResource<CalendarPage<CalendarTask>> queryTasks(CalendarQuery query)getTask
public AsyncResource<CalendarTask> getTask(String calendarId, String taskId)saveTask
public AsyncResource<CalendarTask> saveTask(CalendarTask task, CalendarMutationScope scope)deleteTask
public AsyncResource<Boolean> deleteTask(String calendarId, String taskId, CalendarMutationScope scope, String version)