MetadataList Event

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

Syntax

class BackblazeB2MetadataListEventParams {
public:
  const QString &BucketId();
  const QString &FileId();
  const QString &Name();
  const QString &Value();
  int EventRetVal();
  void SetEventRetVal(int iRetVal);
};
// To handle, connect one or more slots to this signal. void MetadataList(BackblazeB2MetadataListEventParams *e);
// Or, subclass BackblazeB2 and override this emitter function. virtual int FireMetadataList(BackblazeB2MetadataListEventParams *e) {...}

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 Qt Edition - Version 20.0 [Build 8265]