MetadataList Event

Fires once for each metadata item returned when object information and metadata is retrieved.

Syntax

ANSI (Cross Platform)
virtual int FireMetadataList(S3ClientMetadataListEventParams *e);
typedef struct {
const char *Name;
const char *Value; int reserved; } S3ClientMetadataListEventParams; Unicode (Windows) virtual INT FireMetadataList(S3ClientMetadataListEventParams *e);
typedef struct {
LPCWSTR Name;
LPCWSTR Value; INT reserved; } S3ClientMetadataListEventParams;
- (void)onMetadataList:(NSString*)name :(NSString*)value;
#define EID_S3CLIENT_METADATALIST 7

virtual INT IPWORKSS3_CALL FireMetadataList(LPSTR &lpszName, LPSTR &lpszValue);

Remarks

This event fires once for each metadata item returned when GetObjectInfo is called.

Name is the name of the metadata item, without the service-specific prefix (e.g., x-amz-meta-, x-goog-meta-, etc.). Keep in mind that the server stores metadata names in lowercase.

Value is the metadata item's value.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks S3 2020 C++ Edition - Version 20.0 [Build 8178]