OBSGetObjectToFileRequest Class Reference

Inherits from OBSAbstractGetObjectRequest : OBSCORSRequest : OBSBaseRequest : OBSAbstractModel : OBSMTLModel
Declared in OBSGetObjectModel.h
OBSGetObjectModel.m

Overview

File-based download request

  downloadFilePath

File path

@property (nonatomic, strong, nonnull) NSString *downloadFilePath

Declared In

OBSGetObjectModel.h

  background

Whether to download the file on the background

@property (nonatomic, assign) BOOL background

Declared In

OBSGetObjectModel.h

– initWithBucketName:objectKey:downloadFilePath:

Initialize a file-based download request.

- (instancetype)initWithBucketName:(NSString *)bucketName objectKey:(NSString *)objectKey downloadFilePath:(NSString *)downloadFilePath

Parameters

bucketName

Bucket name

objectKey

Object name

downloadFilePath

File path

Return Value

File-based download request

Declared In

OBSGetObjectModel.h