The Object Storage Service (OSS) Android SDK supports multiple download methods. Each method targets a specific use case — choose the one that fits your scenario.
Streaming download (Android SDK) — Stream object data directly without saving to disk. Suitable for media playback or real-time data processing.
Range download (Android SDK) — Download a specific byte range of an object. Useful for seeking within large files or running parallel download segments.
Download to a local file (Android SDK) — Save an object to the device's local storage. The most common approach for general file downloads.
Conditional download (Android SDK) — Download a file only when specified conditions are met, such as a matching ETag or modification time. Reduces unnecessary transfers.
Resumable download (Android SDK) — Pause and resume large file downloads across network interruptions or app restarts.
Download progress bar (Android SDK) — Track download progress in real time to update UI elements such as progress bars or status indicators.