ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Google functions / Google Contacts
  • Properties specific to the description of gglInstantMessaging 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
gglInstantMessaging (Type of variable)
In french: gglMessagerieInstantanée
The gglInstantMessaging type is used to describe and modify the characteristics of the instant messaging used by a contact.
This type of variable is used by the gglContact type.
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
 
...
 
// Retrieve the array of contacts
arrContacts is array of gglContact
arrContacts = GglListContact(Cnt)
 
// Display the data of instant messaging for the first contact
MyContact is gglContact = arrContacts[1]
Msg is dynamic gglInstantMessaging
FOR EACH Msg OF MyContact.InstantMessaging
Trace(Msg.Caption + ": " + Msg.Address)
END
Remarks

Properties specific to the description of gglInstantMessaging variables

The following properties can be used to handle a gglInstantMessaging variable:
Property nameType used Effect
AddressCharacter stringAddress of contact on the instant messaging.
CaptionCharacter stringCaption for describing the address.
MessagingInteger constantType of instant messaging. Can correspond to one of the following constants:
  • gglProtocolAIM: AIM messaging
  • gglProtocolGoogleTalk: Google messaging
  • gglProtocolICQ: ICQ messaging
  • gglProtocolJabber: Jabber messaging
  • gglProtocolMSN: MSN messaging
  • gglProtocolQQ: QQ messaging
  • gglProtocolSkype: Skype messaging
  • gglProtocolYahoo: Yahoo messaging
PrimaryBoolean
  • True if the address corresponds to the main address of the contact,
  • False otherwise.
TypeInteger constantType of the address corresponding to one of the following variables:
  • gglOther: Address other than the home address or the business address.
  • gglWork: Business address.
  • gglHome: Home address.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help