ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Google functions / Google Calendar
  • Properties specific to the description of gglNotification 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 gglNotification type is used to define information about event notifications in a calendar. The characteristics of these notifications can be defined and changed using different WLanguage properties.
This type of variable is handled via gglEvent variables.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Connect to Google
Cnt is gglConnection
Cnt.Email = "balthazar@gmail.com"
Cnt.Password = "qwerty"
Cnt.ApplicationName = "MyApp-01"
IF GglConnect(Cnt) = False THEN
Error(ErrorInfo())
END
...
// Retrieve the array of available calendars
arrCalendars is array of gglCalendar
arrCalendars = GglListCalendar(Cnt)
// Retrieve all the events of the first calendar
GglFillCalendar(Cnt, arrCalendars[1])
// Browse the events
Evt is gglEvent
FOR EACH Evt OF arrCalendars[1]
Trace(Evt.Title)
Trace(Evt.Color)
Trace(Evt.Notification.Default)
Trace(Evt.Notification.Override.Count)
Trace(Evt.Visibility)
Trace(Evt.Availability)
Trace(Evt.Attachment.Count)
FOR EACH ANotif OF Evt.Notification.Override
Trace(ANotif.Method)
Trace(ANotif.NbMinute)
END
FOR EACH AFile OF Evt.Attachment
Trace(AFile.FileID)
Trace(AFile.Title)
Trace(AFile.FileURL)
Trace(AFile.IconURL)
Trace(AFile.MIMEType)
END
END
Remarks

Properties specific to the description of gglNotification variables

The following properties can be used to handle event notifications:
Property nameType usedEffect
DefaultBoolean
  • True if default notifications are to be applied,
  • False otherwise.
OverrideArray of gglOverrideList of overrides used, if the Default property is set to False.
Caution: There can only be a maximum of 5 overrides.
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help