TTMSFNCCloudGooglePhotos Class
Ready-to-use client component for the Google Photos service that publishes the album and photo management events for design-time use.
API unit family: TMSFNCCloudGooglePhotos
Inherits from: TTMSFNCCustomCloudGooglePhotos
Syntax
TTMSFNCCloudGooglePhotos = class(TTMSFNCCustomCloudGooglePhotos)
Properties
Name
Description
Albums
The albums retrieved for the account by GetAlbums or created with CreateAlbum. (inherited from TTMSFNCCustomCloudGooglePhotos)
SearchResults
The photos returned by the most recent SearchPhotos call. (inherited from TTMSFNCCustomCloudGooglePhotos)
Methods
Name
Description
AddFolderToAlbum
Uploads every file in a folder to an album, creating the album when it does not already exist. (inherited from TTMSFNCCustomCloudGooglePhotos)
CreateAlbum
Creates a new album on the service using the title of the given album item. (inherited from TTMSFNCCustomCloudGooglePhotos)
DownloadPhoto
Downloads the full-size image of a photo and saves it to a local file. (inherited from TTMSFNCCustomCloudGooglePhotos)
FindAlbumByTitle
Searches the loaded Albums collection for an album with the given title. (inherited from TTMSFNCCustomCloudGooglePhotos)
GetAlbums
Requests the list of albums for the authenticated account. (inherited from TTMSFNCCustomCloudGooglePhotos)
SearchPhotos
Searches for photos, optionally restricted to a single album identified by its identifier. (inherited from TTMSFNCCustomCloudGooglePhotos)
UploadPhoto
Uploads a local image file and adds it to the specified album. (inherited from TTMSFNCCustomCloudGooglePhotos)
Events
Name
Description
OnBeforeDownloadPhoto
Occurs before a photo is downloaded, allowing the target file name to be changed or the download to be skipped. (inherited from TTMSFNCCustomCloudGooglePhotos)
OnBeforeUploadPhoto
Occurs before each photo file is uploaded, allowing the upload to be permitted or skipped. (inherited from TTMSFNCCustomCloudGooglePhotos)
OnCreateAlbum
Occurs when an album creation request completes, providing the created album. (inherited from TTMSFNCCustomCloudGooglePhotos)
OnDownloadPhoto
Occurs when a photo download completes, providing the request result. (inherited from TTMSFNCCustomCloudGooglePhotos)
OnGetAlbums
Occurs when an albums retrieval request completes, providing the list of albums. (inherited from TTMSFNCCustomCloudGooglePhotos)
OnGetPhotos
Occurs when a photo search or retrieval request completes, providing the matching photos. (inherited from TTMSFNCCustomCloudGooglePhotos)
OnUploadPhoto
Occurs when a photo upload completes, providing the resulting photo item. (inherited from TTMSFNCCustomCloudGooglePhotos)