ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Google functions / Google Calendar
  • Properties specific to gglCalendar variables
  • Functions that use gglCalendar variables
  • Functions (prefix syntax) that use gglCalendar variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The gglCalendar type is used to describe and modify a calendar used by the Google Calendar service. The characteristics of this type of variable can be defined and changed using different WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Connection to Google
Cnt is gglConnection
..
// Retrieve the array of available calendars
arrCalendars is array of gglCalendar
arrCalendars = GglListCalendar(Cnt)
// Retrieve the events of the first calendar
GglFillCalendar(Cnt, arrCalendars[1])
Trace("Calendar description: " + arrCalendars[1].Description)
Remarks

Properties specific to gglCalendar variables

The following properties can be used to handle gglCalendar variables:
Property nameType usedEffect
DescriptionCharacter stringDescription of the calendar.
Event[n]Array of gglEventEvents of the calendar.
An event having several characteristics, we advise you to declare a gglEvent variable.
IdentifierCharacter stringIdentifier of the calendar. This property is read-only.
TimeZoneCharacter stringTime zone used by the calendar. This property returns a string such as "America/Los Angeles".
This property is read-only.
TitleCharacter stringTitle of the calendar.

Functions that use gglCalendar variables

GglDeleteDeletes data from the Google server.
GglFillCalendarFills a calendar that was retrieved beforehand: the events corresponding to the calendar are retrieved (some criteria may be specified).
GglFillCalendarByRequestFills a calendar that was retrieved beforehand: the events corresponding to the calendar are retrieved from a custom request.
GglGetCalendarRetrieves a Google calendar and its events according to its title or identifier.
GglListCalendarRetrieves the list of Google calendars associated with the specified Google account.
GglWriteCreates and/or updates data on the Google server (addition or modification of data).

Functions (prefix syntax) that use gglCalendar variables

<gglConnection variable>.DeleteDeletes data from the Google server.
<gglConnection variable>.FillCalendarFills a calendar that was retrieved beforehand: the events corresponding to the calendar are retrieved (some criteria may be specified).
<gglConnection variable>.FillCalendarByRequestFills a calendar that was retrieved beforehand: the events corresponding to the calendar are retrieved from a custom request.
<gglConnection variable>.GetCalendarRetrieves a Google calendar and its events according to its title or identifier.
<gglConnection variable>.ListCalendarRetrieves the list of Google calendars associated with the specified Google account.
<gglConnection variable>.WriteCreates and/or updates data on the Google server (addition or modification of data).
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/03/2023

Send a report | Local help