S3 Transfer network option (wifi/mobile/any) #2303
Labels
feature-parity
Feature missing from this library but available on other ones
feature-request
Request a new feature
storage
Related to the Storage category/plugins
Discussed in https://github.com/aws-amplify/amplify-android/discussions/2298
Originally posted by waertf February 20, 2023
TransferNetworkConnectionType
The TransferNetworkConnectionType option allows you to restrict the type of network connection (WiFi / Mobile / ANY) over which the data can be transferred to Amazon S3.
TransferUtilityOptions options = new TransferUtilityOptions(10, TransferNetworkConnectionType.WIFI);
TransferUtility transferUtility = TransferUtility.builder()
// Pass-in S3Client, Context, AWSConfiguration/DefaultBucket Name
.transferUtilityOptions(options)
.build();
copy
By specifying TransferNetworkConnectionType.WIFI , data transfers to and from S3 will only happen when the device is on a WiFi connection
The text was updated successfully, but these errors were encountered: