We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.upload.
Package com.vaadin.flow.component.upload
Interface ProgressListener
All Superinterfaces:
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
ProgressListener receives events to track progress of upload.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
updateProgress
(long readBytes, long contentLength) Updates progress to listener.
-
Method Details
-
updateProgress
void updateProgress(long readBytes, long contentLength) Updates progress to listener.
Parameters:
readBytes
- bytes transferredcontentLength
- total size of file currently being uploaded, -1 if unknown
-