TTMSFNCCloudGooglePhotos.SearchPhotos Method
Searches for photos, optionally restricted to a single album identified by its identifier.
API unit family: TMSFNCCloudGooglePhotos
Declaring type: TTMSFNCCloudGooglePhotos
Inherited from: TTMSFNCCustomCloudGooglePhotos
Overloads
Overload 1
Searches for photos, optionally restricted to a single album identified by its identifier.
procedure SearchPhotos(AAlbumID: string = ''); overload;
Remarks
Clears and fills SearchResults; the matches are reported through the OnGetPhotos event. Results are paged automatically until all items are retrieved.
Parameters
| Name | Description |
|---|---|
AAlbumID |
The album identifier to search within; pass an empty string to search all photos. |
Overload 2
Searches for photos, optionally restricted to the given album, and copies the results into that album.
procedure SearchPhotos(AAlbum: TTMSFNCCloudGooglePhotosAlbum = nil); overload;
Remarks
Clears and fills SearchResults; when an album is supplied its Photos collection is updated as well. Matches are reported through the OnGetPhotos event.
Parameters
| Name | Description |
|---|---|
AAlbum |
The album to search within and populate; pass nil to search all photos. |