AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones Google / Google Calendar
  • Properties specific to gglOverride 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 gglOverride type is used to define information about event notification overrides. You can define and change the characteristics of this override using different WLanguage properties.
This type of variable is handled via gglNotification 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 gglOverride variables

The following properties can be used to handle overrides:
Property nameType usedEffect
MethodString constantMethod used for notifications:
  • gglEmailNotification: notification by email.
  • gglPopupNotification: notification in a popup.
NbMinuteIntegerNumber of minutes before the event that defines when the notification should be displayed / sent.
This number must be between 0 and 40320 (40320 minutes = 4 weeks).
Versión mínima requerida
  • Versión 26
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 20/11/2023

Señalar un error o enviar una sugerencia | Ayuda local