MBXDownloadOptions


@interface MBXDownloadOptions : NSObject

Structure to configure download session.

  • Structure which contains parameters to use for sending HTTP request. Http method will be ignored from this request.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) MBXHttpRequest *request;
  • Absolute path where to store downloaded file. If a file with the specified name already exists and resume is set to false, the existing file is overwritten.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nonnull) NSString *localPath;
  • If localPath points to an existing file on disk, resume the download starting from an offset equal to file size.

    Declaration

    Objective-C

    @property (nonatomic, getter=isResume) BOOL resume;