PartList Event
Fires once for each part returned when listing a multipart upload's parts.
Syntax
ANSI (Cross Platform) virtual int FirePartList(BackblazeB2PartListEventParams *e);
typedef struct {
int PartNumber;
const char *MultipartFileId;
int64 Size;
int64 CreatedTime;
const char *SHA1Hash; int reserved; } BackblazeB2PartListEventParams; Unicode (Windows) virtual INT FirePartList(BackblazeB2PartListEventParams *e);
typedef struct {
INT PartNumber;
LPCWSTR MultipartFileId;
LONG64 Size;
LONG64 CreatedTime;
LPCWSTR SHA1Hash; INT reserved; } BackblazeB2PartListEventParams;
- (void)onPartList:(int)partNumber :(NSString*)multipartFileId :(long long)size :(long long)createdTime :(NSString*)SHA1Hash;
#define EID_BACKBLAZEB2_PARTLIST 10 virtual INT IPWORKSCLOUD_CALL FirePartList(INT &iPartNumber, LPSTR &lpszMultipartFileId, LONG64 &lSize, LONG64 &lCreatedTime, LPSTR &lpszSHA1Hash);
Remarks
This event fires once for each part returned when ListParts is called.
PartNumber reflects the part's number.
MultipartFileId reflects the Id of the multipart file upload that the part is a part of.
Size reflects the size of the part, in bytes.
CreatedTime reflects the part's creation time (i.e., upload time), in milliseconds relative to the Unix epoch.
SHA1Hash reflects a hex-encoded SHA1 hash of the part's contents.