Skip to main content

UploadPart Constructors

An object defining constructors for the UploadPart class.

UploadPart(id, startByte, endByte, url)

Initializes a new instance of the UploadPart class with the specified part information.

Parameters:

id (required): int
The identifier of the upload part.

startByte (required): long
The starting byte position of this part in the complete file.

endByte (required): long
The ending byte position of this part in the complete file.

url (required): string
The URL where this part should be uploaded.

This constructor initializes a new upload part with the specified identifier, byte range, and destination URL. The byte range defines the portion of the complete file that this part represents.