| Package | Description |
|---|---|
| com.amazonaws.mobileconnectors.s3.transferutility |
This package contains helper classes for managing upload and download tasks and a public
class
s3.transferservice.transferManager
which is a high level client that provides methods to control users' upload and download tasks. |
| Modifier and Type | Method and Description |
|---|---|
TransferObserver |
TransferUtility.download(String bucket,
String key,
File file)
Starts downloading the S3 object specified by the bucket and the key to
the file.
|
TransferObserver |
TransferUtility.getTransferById(int id)
Gets a TransferObserver instance to track the record with the given id.
|
TransferObserver |
TransferUtility.resume(int id)
Resumes the transfer task with the given id.
|
TransferObserver |
TransferUtility.upload(String bucket,
String key,
File file)
Starts uploading the file to the given bucket, using the given key
|
TransferObserver |
TransferUtility.upload(String bucket,
String key,
File file,
ObjectMetadata metadata)
Starts uploading the file to the given bucket, using the given key
|
| Modifier and Type | Method and Description |
|---|---|
List<TransferObserver> |
TransferUtility.getTransfersWithType(TransferType type)
Gets a list of TransferObserver instances which are observing records
with the given type.
|
List<TransferObserver> |
TransferUtility.getTransfersWithTypeAndState(TransferType type,
TransferState state)
Gets a list of TransferObserver instances which are observing records
with the given type.
|
Copyright © 2016. All rights reserved.