public static final class StartDownloadCallback.Action extends AsyncCallbackAction<Response>
StartDownloadCallback.| Constructor and Description |
|---|
Action(java.util.function.Consumer<Response> consumer) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Notifies the engine that the file download should be canceled.
|
void |
download(java.nio.file.Path destFilePath)
Notifies the engine that the file should be downloaded into a specific directory.
|
isClosedpublic void download(java.nio.file.Path destFilePath)
destFilePath - the directory to store the downloaded filepublic void cancel()