Documentation

GoogleApiSync

GoogleApiSync class for syncing calendar with Google calendarндарем.

Class methods

MethodDescription Available from version
__constructClass GoogleApiSync Constructor.
getTransportErrorsReturns message connection error code.
getPrimaryIdGets main calendar ID.
getSyncTokenReturns calendar list sync token.
getCalendarItemsGets list of Google calendars.
getEventsGets list of Google calendar events.
deleteEventDeletes event from specified Google calendar.
saveEventPublishes event in Google calendar; returns iCalUid field or "false".
testConnectionChecks if option to connect with API Google is available.
stopChannelCloses watch channel and sends query to stop push notifications to Google.
startWatchCalendarListCreates watch channel for connection.
startWatchEventsChannelCreates watch channel for new events.


© «Bitrix24», 2001-2024
Up