MetadataList Event
Fires once for each metadata item returned when bucket or file information and metadata is retrieved.
Syntax
type TMetadataListEvent = procedure ( Sender: TObject; const BucketId: String; const FileId: String; const Name: String; const Value: String ) of Object;
property OnMetadataList: TMetadataListEvent read FOnMetadataList write FOnMetadataList;
Remarks
This event fires once for each metadata item returned when GetBucketInfo or GetFileInfo is called. If the ListWithMetadata configuration setting is enabled, it also fires as metadata for each individual bucket or file is returned when ListBuckets, ListFiles, ListFileVersions, or ListMultipartUploads is called.
BucketId reflects the Id of the bucket that the file is in (if FileId is non-empty), or that the metadata item is associated with (if FileId is empty).
FileId, if non-empty, reflects the Id of the file that the metadata item is associated with.
Name reflects the name of the metadata item.
Value reflects the value of the metadata item.