MetadataList Event
Fires once for each metadata item returned when object information and metadata is retrieved.
Syntax
ANSI (Cross Platform) virtual int FireMetadataList(GoogleStorageMetadataListEventParams *e);
typedef struct {
const char *Name;
const char *Value; int reserved; } GoogleStorageMetadataListEventParams; Unicode (Windows) virtual INT FireMetadataList(GoogleStorageMetadataListEventParams *e);
typedef struct {
LPCWSTR Name;
LPCWSTR Value; INT reserved; } GoogleStorageMetadataListEventParams;
- (void)onMetadataList:(NSString*)name :(NSString*)value;
#define EID_GOOGLESTORAGE_METADATALIST 6 virtual INT IPWORKSCLOUD_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.