This topic describes the methods provided by Object Storage Service (OSS) SDK for Android to upload objects.
Objects are the basic unit for data operations in OSS. OSS SDK for Android provides the following methods to upload objects:
- Simple upload: supports the upload of an object that is up to 5 GB in size. You can use simple upload to upload local files and byte arrays in binary.
- Append upload: supports the upload of an object that is up to 5 GB in size.
- Resumable upload: supports the upload of an object that is up to 48.8 TB in size. This method is suitable for the upload of large objects. Concurrent upload is supported. You can define the size of each part.
Note For more information about the scenarios of each upload method, see the "Upload objects" topic.
You can view the upload progress shown in the progress bar. For more information, see Progress bar. After the upload is complete, you can receive upload callbacks. For more information, see Upload callbacks.