BucketList Event
Fires once for each bucket returned when listing buckets.
Syntax
ANSI (Cross Platform) virtual int FireBucketList(BackblazeB2BucketListEventParams *e);
typedef struct {
const char *Id;
const char *Name;
const char *Kind;
int64 Revision; int reserved; } BackblazeB2BucketListEventParams; Unicode (Windows) virtual INT FireBucketList(BackblazeB2BucketListEventParams *e);
typedef struct {
LPCWSTR Id;
LPCWSTR Name;
LPCWSTR Kind;
LONG64 Revision; INT reserved; } BackblazeB2BucketListEventParams;
- (void)onBucketList:(NSString*)id :(NSString*)name :(NSString*)kind :(long long)revision;
#define EID_BACKBLAZEB2_BUCKETLIST 2 virtual INT IPWORKSCLOUD_CALL FireBucketList(LPSTR &lpszId, LPSTR &lpszName, LPSTR &lpszKind, LONG64 &lRevision);
Remarks
This event fires once for each bucket returned when ListBuckets is called.
Id reflects the unique Id of the bucket.
Name reflects the name of the bucket.
Kind reflects the bucket's kind. Possible values are allPublic, allPrivate, or snapshot.
Revision reflects the bucket's revision number. A bucket's revision number is updated every time the bucket is modified.