| Package | Description |
|---|---|
| com.amazonaws.mobileconnectors.s3.transferutility |
This package contains helper classes for managing upload and download tasks and a public
class
TransferUtility
which is a high level client that provides methods to control users' upload and download tasks. |
| Modifier and Type | Method and Description |
|---|---|
static TransferType |
TransferType.getType(String type)
Returns type of transfer.
|
static TransferType |
TransferType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransferType[] |
TransferType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TransferUtility.cancelAllWithType(TransferType type)
Sets all transfers which have the given type to be canceled.
|
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.
|
List<TransferObserver> |
TransferUtility.getTransfersWithTypeAndStates(TransferType type,
TransferState[] states)
Gets a list of TransferObserver instances which are observing records with
the given type.
|
void |
TransferUtility.pauseAllWithType(TransferType type)
Pauses all transfers which have the given type.
|
List<TransferObserver> |
TransferUtility.resumeAllWithType(TransferType type)
Resume all the transfers which are not finished.
|
Copyright © 2020. All rights reserved.