public interface UploadStatusDelegate
| Modifier and Type | Method and Description |
|---|---|
void |
onCancelled(Context context,
UploadInfo uploadInfo)
Called when the upload is cancelled.
|
void |
onCompleted(Context context,
UploadInfo uploadInfo,
ServerResponse serverResponse)
Called when the upload is completed successfully.
|
void |
onError(Context context,
UploadInfo uploadInfo,
Exception exception)
Called when an error happens during the upload.
|
void |
onProgress(Context context,
UploadInfo uploadInfo)
Called when the upload progress changes.
|
void onProgress(Context context, UploadInfo uploadInfo)
context - contextuploadInfo - upload status informationvoid onError(Context context, UploadInfo uploadInfo, Exception exception)
context - contextuploadInfo - upload status informationexception - exception that caused the errorvoid onCompleted(Context context, UploadInfo uploadInfo, ServerResponse serverResponse)
context - contextuploadInfo - upload status informationserverResponse - response got from the servervoid onCancelled(Context context, UploadInfo uploadInfo)
context - contextuploadInfo - upload status information