AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones Google / Google Contacts
  • Properties specific to gglContactGroup variables
  • Functions that use gglContactGroup 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
gglContactGroup (Type of variable)
In french: gglGroupeContact
Warning
Since June 15, 2021, the Google Contacts API used by this feature is no longer available (https://developers.google.com/contacts/v3/announcement).
To use Google contacts, refer to the People API published by Google as a replacement: https://developers.google.com/people. RESTSend allows you to easily integrate a REST API in your development projects.
The gglContactGroup type is used to describe and modify a group of contacts used by the Google Contacts service.
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
Cnt.Email = "balthazar@gmail.com"
Cnt.Password = "qwerty"
Cnt.ApplicationName = "MyApp-01"
IF GglConnect(Cnt) = False THEN
Error(ErrorInfo())
END
...
 
// Retrieves the groups of contacts
arrGroups is array of gglContactGroup
arrGroups = GglListContactGroup(Cnt)
 
// Browse the groups
Grp is dynamic gglContactGroup
FOR EACH Grp OF arrGroups
Trace(Grp.Name)
END
// Create a group of contacts
Cnt is gglConnection
Cnt.Email = "MyAddress@gmail.com"
Cnt.Password = "GmailAddressPassword"
Cnt.ApplicationName = ""
grpGoogle is gglContactGroup
 
IF GglConnect(Cnt) = False THEN
Error(ErrorInfo())
ELSE
// Add the group
grpGoogle.Name = "My New Group"
IF NOT GglWrite(Cnt, grpGoogle) THEN
Error(ErrorInfo())
END
END
Remarks

Properties specific to gglContactGroup variables

The following properties can be used to handle a gglContactGroup variable:
Name Type usedEffect
UpdateDateDateTimeDate of the last update. This information is read-only.
Remark: The date is a UTC date (in universal time).
IdentifierCharacter stringGroup identifier. This information is read-only.
Name Character stringName of the group.

Functions that use gglContactGroup variables

GglDeleteDeletes data from the Google server.
GglListContactGroupRetrieves the list of groups of contacts associated with the specified Google account.
GglWriteCreates and/or updates data on the Google server (addition or modification of data).
Versión mínima requerida
  • Versión 14
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/01/2023

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