IPWorks Cloud 2020 Kotlin Edition

Questions / Feedback?

MetadataList Event

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

Syntax

public open class DefaultBackblazeb2EventListener : Backblazeb2EventListener {
  ...
  public override fun metadataList(e: Backblazeb2MetadataListEvent) {}
  ...
}

public class Backblazeb2MetadataListEvent {
  val bucketId: String?
  val fileId: String?
  val name: String?
  val value: String?
}

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) 2021 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Kotlin Edition - Version 20.0 [Build 7941]