public class AmazonS3ServiceImpl extends Object implements AmazonS3Service
AmazonS3Service.AmazonS3Service.Builder| Constructor and Description |
|---|
AmazonS3ServiceImpl(String bucket)
Initialises a new instance of the class.
|
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Observable<retrofit2.Response<Void>> |
uploadPartToAmazon(String filename,
UploadRequest uploadRequest,
int chunkNumber,
byte[] fileContent,
int numberOfChunks)
Check
AmazonS3Service for more information. |
public AmazonS3ServiceImpl(String bucket)
bucket - AWS bucket with the URL to upload the part to.public io.reactivex.Observable<retrofit2.Response<Void>> uploadPartToAmazon(String filename, UploadRequest uploadRequest, int chunkNumber, byte[] fileContent, int numberOfChunks)
AmazonS3Service for more information.uploadPartToAmazon in interface AmazonS3Servicefilename - Name of the file to be uploaded.uploadRequest - Upload request information.chunkNumber - Number of the chunk to be uploaded.fileContent - Content of the file to be uploaded.numberOfChunks - Total number of chunks.Observable with the request Response information.Copyright © 2020. All rights reserved.