TTMSFNCCustomCloudGooglePhotos.UploadPhoto Method
Uploads a local image file and adds it to the specified album.
API unit family: TMSFNCCloudGooglePhotos
Declaring type: TTMSFNCCustomCloudGooglePhotos
Syntax
procedure UploadPhoto(AAlbum: TTMSFNCCloudGooglePhotosAlbum; AFileName: TTMSFNCUtilsFile; ASummary: string = '');
Remarks
The OnBeforeUploadPhoto event can skip the upload; completion is reported through the OnUploadPhoto event.
Parameters
| Name | Description |
|---|---|
AAlbum |
The target album the photo is added to. Has no effect when nil. |
AFileName |
The local image file to upload. |
ASummary |
An optional description stored with the uploaded photo. |