AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones Google / Google Contacts
  • Properties specific to gglContactGroup variables
  • Functions that use gglContactGroup variables
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Advertencia
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 is used to describe and modify a group of contacts used by the Google Contacts service.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Ejemplo
// 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
Propiedades

Properties specific to gglContactGroup variables

The following properties can be used to define the characteristics of gglContactGroup variables:
Name Type usedEffect
UpdateDateDateTimeDate of the last update. This information is read-only.
Note: The date is UTC (Universal Time Coordinated).
IdentifierCharacter stringGroup identifier. This information is read-only.
Name Character stringName of the group.
Observaciones

Functions that use gglContactGroup variables

GglDeleteElimina los datos del servidor de Google.
GglListContactGroupRecupera la lista de grupos de contactos asociados a la cuenta de Google especificada.
GglWriteCrea y/o actualiza datos en el servidor de Google (adición o modificación de datos).
Versión mínima requerida
  • Versión 14
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

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