MBXUploadStatus


@interface MBXUploadStatus : NSObject

Structure to hold current status information about an ongoing upload.

  • ID for the upload.

    Declaration

    Objective-C

    @property (nonatomic) uint64_t uploadId;
  • State of the upload process.

    Declaration

    Objective-C

    @property (nonatomic) MBXUploadState state;
  • Optional. Contains error information in case of failure when state is set to UploadState::Failed.

    Declaration

    Objective-C

    @property (nonatomic, nullable) MBXUploadError *error;
  • The size of the upload (file + metadata).

    Declaration

    Objective-C

    @property (nonatomic, nullable) NSNumber *totalBytes;
  • Amount of bytes uploaded since the last time the progress callback reported.

    Declaration

    Objective-C

    @property (nonatomic) uint64_t sentBytes;
  • Total amount of bytes uploaded for this request, subtract totalBytes (i.e. filesize and metadata) to get overhead of request.

    Declaration

    Objective-C

    @property (nonatomic) uint64_t totalSentBytes;