IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

MetadataList Event

Fires once for each metadata item returned when bucket or file information and metadata is retrieved.

Syntax

ANSI (Cross Platform)
virtual int FireMetadataList(BackblazeB2MetadataListEventParams *e);
typedef struct {
const char *BucketId;
const char *FileId;
const char *Name;
const char *Value; int reserved; } BackblazeB2MetadataListEventParams; Unicode (Windows) virtual INT FireMetadataList(BackblazeB2MetadataListEventParams *e);
typedef struct {
LPCWSTR BucketId;
LPCWSTR FileId;
LPCWSTR Name;
LPCWSTR Value; INT reserved; } BackblazeB2MetadataListEventParams;
- (void)onMetadataList:(NSString*)bucketId :(NSString*)fileId :(NSString*)name :(NSString*)value;
#define EID_BACKBLAZEB2_METADATALIST 9

virtual INT IPWORKSCLOUD_CALL FireMetadataList(LPSTR &lpszBucketId, LPSTR &lpszFileId, LPSTR &lpszName, LPSTR &lpszValue);

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.

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