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 |
---|---|
MediaHttpUploader |
MediaHttpUploader.setChunkSize(int chunkSize)
Sets the maximum size of individual chunks that will get uploaded by single HTTP requests.
|
MediaHttpUploader |
MediaHttpUploader.setDirectUploadEnabled(boolean directUploadEnabled)
Sets whether direct media upload is enabled or disabled.
|
MediaHttpUploader |
MediaHttpUploader.setDisableGZipContent(boolean disableGZipContent)
Sets whether to disable GZip compression of HTTP content.
|
MediaHttpUploader |
MediaHttpUploader.setInitiationHeaders(HttpHeaders initiationHeaders)
Sets the HTTP headers used for the initiation request.
|
MediaHttpUploader |
MediaHttpUploader.setInitiationRequestMethod(String initiationRequestMethod)
Sets the HTTP method used for the initiation request.
|
MediaHttpUploader |
MediaHttpUploader.setMetadata(HttpContent metadata)
Sets HTTP content metadata for the media request or
null for none. |
MediaHttpUploader |
MediaHttpUploader.setProgressListener(MediaHttpUploaderProgressListener progressListener)
Sets the progress listener to send progress notifications to or
null for none. |
MediaHttpUploader |
MediaHttpUploader.setSleeper(Sleeper sleeper)
Sets the sleeper.
|
Modifier and Type | Method and Description |
---|---|
void |
MediaHttpUploaderProgressListener.progressChanged(MediaHttpUploader uploader)
Called to notify that progress has been changed.
|
Modifier and Type | Method and Description |
---|---|
MediaHttpUploader |
AbstractGoogleClientRequest.getMediaHttpUploader()
Returns the media HTTP Uploader or
null for none. |
Copyright © 2010–2019 Google. All rights reserved.