Package ws.schild.jave.progress
Interface VideoProgressListener
- All Known Implementing Classes:
EchoingProgressListener
public interface VideoProgressListener
A VideoProgressListener is meant to share progress from potentially any number of
EncoderProgressListeners. Because it would be hard to determine the overall status by just
tracking successive progress from ffmpeg, an onBbegin and onComplete have been added.
- Author:
- mressler
-
Method Summary
Modifier and TypeMethodDescriptionvoidonBegin()It has begun!voidIt has ended!voidAn error has occurred!voidAny messages that arise during the activity.voidonProgress(Double progress) Meaningful progress has been made.
-
Method Details
-
onBegin
void onBegin()It has begun! -
onMessage
Any messages that arise during the activity.- Parameters:
message- Whatever the process reported out.
-
onProgress
Meaningful progress has been made.- Parameters:
progress- Current percentage complete. (0-1)
-
onError
An error has occurred!- Parameters:
message- The error message reported by the process.
-
onComplete
void onComplete()It has ended!
-