Package | Description |
---|---|
com.google.api.client.googleapis.media |
Media for Google API's.
|
com.google.api.client.googleapis.services |
Contains the basis for the generated service-specific libraries.
|
Modifier and Type | Method and Description |
---|---|
MediaHttpDownloader |
MediaHttpDownloader.setBytesDownloaded(long bytesDownloaded)
Sets the total number of bytes that have been downloaded of the media resource.
|
MediaHttpDownloader |
MediaHttpDownloader.setChunkSize(int chunkSize)
Sets the maximum size of individual chunks that will get downloaded by single HTTP requests.
|
MediaHttpDownloader |
MediaHttpDownloader.setContentRange(long firstBytePos,
int lastBytePos)
Deprecated.
Use
setContentRange(long, long) instead. |
MediaHttpDownloader |
MediaHttpDownloader.setContentRange(long firstBytePos,
long lastBytePos)
Sets the content range of the next download request.
|
MediaHttpDownloader |
MediaHttpDownloader.setDirectDownloadEnabled(boolean directDownloadEnabled)
Returns whether direct media download is enabled or disabled.
|
MediaHttpDownloader |
MediaHttpDownloader.setProgressListener(MediaHttpDownloaderProgressListener progressListener)
Sets the progress listener to send progress notifications to or
null for none. |
Modifier and Type | Method and Description |
---|---|
void |
MediaHttpDownloaderProgressListener.progressChanged(MediaHttpDownloader downloader)
Called to notify that progress has been changed.
|
Modifier and Type | Method and Description |
---|---|
MediaHttpDownloader |
AbstractGoogleClientRequest.getMediaHttpDownloader()
Returns the media HTTP downloader or
null for none. |
Copyright © 2010–2020 Google. All rights reserved.