public class AmazonServiceImpl extends Object implements AmazonService
AmazonService.| Constructor and Description |
|---|
AmazonServiceImpl(String awsBucket)
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
AmazonService for more information. |
public AmazonServiceImpl(String awsBucket)
awsBucket - 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)
AmazonService for more information.uploadPartToAmazon in interface AmazonServicefilename - 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 © 2018. All rights reserved.