PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of gglMediaContent variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The gglMediaContent type is used to find out the data of the original image of a photo in a Picasa album.
The gglMediaContent type is used by the gglMediaGroup variables.
Note: See Declaring a variable for more details.
Example
// Connection to Google
Cnt is gglConnection
Cnt..Email = "vince@gmail.com"
Cnt..Password = "azerty"
Cnt..ApplicationName = "MyApp-01"
IF GglConnect(Cnt) = False THEN
Error(ErrorInfo())
END

// Retrieve the array of available albums
arrAlbum is array of gglAlbum
arrAlbum = GglListAlbum(Cnt)

// Retrieve the photos found in the first album (the metadata only)
GglFillAlbum(Cnt, arrAlbum[1], gglWithImage)

// Display the URL of the files for each photo
MyPhoto is gglPhoto
FOR EACH MyPhoto OF arrAlbum[1]..Photo
 Trace(MyPhoto..Media..MediaContent..URL)
END
Remarks

Properties specific to the description of gglMediaContent variables

The following properties can be used to handle the data about the initial image of a photo found in a Google Picasa album:
NameType used Effect
HeightIntegerHeight of photo in pixels.
This property is available in read-only.
WidthIntegerWidth of photo expressed in pixels.
This property is available in read-only.
MIMETypeCharacter stringMIME type of photo.
This property is available in read-only.
URLCharacter stringURL used to download the photo.
This property is available in read-only.
Note: These properties can be used with one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment