OBSGetObjectToFileRequest Class Reference
| Inherits from | OBSAbstractGetObjectRequest : OBSCORSRequest : OBSBaseRequest : OBSAbstractModel : OBSMTLModel | 
|---|---|
| Declared in | OBSGetObjectModel.h OBSGetObjectModel.m  | 
  downloadFilePath
	File path
@property (nonatomic, strong, nonnull) NSString *downloadFilePathDeclared In
OBSGetObjectModel.h
  background
	Whether to download the file on the background
@property (nonatomic, assign) BOOL backgroundDeclared In
OBSGetObjectModel.h
– initWithBucketName:objectKey:downloadFilePath:
	Initialize a file-based download request.
- (instancetype)initWithBucketName:(NSString *)bucketName objectKey:(NSString *)objectKey downloadFilePath:(NSString *)downloadFilePathParameters
bucketName | 
						Bucket name  | 
					
|---|---|
objectKey | 
						Object name  | 
					
downloadFilePath | 
						File path  | 
					
Return Value
File-based download request
Declared In
OBSGetObjectModel.h