public static interface StartDownloadCallback.Params
StartDownloadCallback
.Modifier and Type | Method and Description |
---|---|
default Download |
download()
Returns the
DownloadProcess instance that is about to start. |
default java.util.Optional<Frame> |
frame()
Returns an
Optional that contains the Frame instance initiated this
download or an empty Optional if the instance initiated this download was closed
and not available anymore. |
default Download download()
DownloadProcess
instance that is about to start.default java.util.Optional<Frame> frame()
Optional
that contains the Frame
instance initiated this
download or an empty Optional
if the instance initiated this download was closed
and not available anymore.
If this download was initiated by clicking the Download button in the PDF Viewer
loaded in the main frame or an IFRAME, then this method returns an Optional
that
contains the instance of the main Frame
.