IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

MetadataList Event

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

Syntax

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

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.

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