public class FileResultCallbackImpl extends BaseCallbackImpl implements IFileResultCallback
| Constructor and Description |
|---|
FileResultCallbackImpl(long id)
Constructor with callback id.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onError(IFileResultCallbackError error)
On error result of a file operation.
|
void |
onResult(FileDescriptor storageFile)
On correct result of a file operation.
|
void |
onWarning(FileDescriptor file,
IFileResultCallbackWarning warning)
On partial result of a file operation, containing a warning.
|
getAPIGroup, getAPIVersion, getId, getJSONParserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAPIGroup, getAPIVersionpublic FileResultCallbackImpl(long id)
id - The id of the callback.public void onError(IFileResultCallbackError error)
onError in interface IFileResultCallbackerror - Error processing the request.public void onResult(FileDescriptor storageFile)
onResult in interface IFileResultCallbackstorageFile - Reference to the resulting file.public void onWarning(FileDescriptor file, IFileResultCallbackWarning warning)
onWarning in interface IFileResultCallbackfile - Reference to the offending file.warning - Warning processing the request.