-
public final class PageEvent.DownloadProgressEvent extends PageEvent
Fired when download makes progress. Last call has |done| == true.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringguidprivate final DoubletotalBytesprivate final DoublereceivedBytesprivate final Stringstate
-
Constructor Summary
Constructors Constructor Description DownloadProgressEvent(String guid, Double totalBytes, Double receivedBytes, String state)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Doublecomponent2()final Doublecomponent3()final Stringcomponent4()final PageEvent.DownloadProgressEventcopy(String guid, Double totalBytes, Double receivedBytes, String state)final StringgetGuid()Global unique identifier of the download. final DoublegetTotalBytes()Total expected bytes to download. final DoublegetReceivedBytes()Total bytes received. final StringgetState()Download status. -
-
Method Detail
-
component1
final String component1()
-
component2
final Double component2()
-
component3
final Double component3()
-
component4
final String component4()
-
copy
final PageEvent.DownloadProgressEvent copy(String guid, Double totalBytes, Double receivedBytes, String state)
-
getTotalBytes
final Double getTotalBytes()
Total expected bytes to download.
-
getReceivedBytes
final Double getReceivedBytes()
Total bytes received.
-
-
-
-