public class LoggingMediaHttpUploaderProgressListener
extends java.lang.Object
implements com.google.api.client.googleapis.media.MediaHttpUploaderProgressListener
A new instance of this progress listener should be used for each MediaHttpUploader.
Constructor and Description |
---|
LoggingMediaHttpUploaderProgressListener(java.lang.String name,
long minLoggingInterval)
Creates a upload progress listener that emits relevant statistics about the progress of the
upload.
|
Modifier and Type | Method and Description |
---|---|
void |
progressChanged(com.google.api.client.googleapis.media.MediaHttpUploader uploader) |
public LoggingMediaHttpUploaderProgressListener(java.lang.String name, long minLoggingInterval)
name
- The name of the resource being uploaded.minLoggingInterval
- The minimum amount of time (millis) between logging upload progress.Copyright © 2019. All rights reserved.