Package ws.schild.jave.progress
Interface VideoProgressListener
-
- All Known Implementing Classes:
EchoingProgressListener
public interface VideoProgressListenerA 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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonBegin()It has begun!voidonComplete()It has ended!voidonError(java.lang.String message)An error has occurred!voidonMessage(java.lang.String message)Any messages that arise during the activity.voidonProgress(java.lang.Double progress)Meaningful progress has been made.
-
-
-
Method Detail
-
onBegin
void onBegin()
It has begun!
-
onMessage
void onMessage(java.lang.String message)
Any messages that arise during the activity.- Parameters:
message- Whatever the process reported out.
-
onProgress
void onProgress(java.lang.Double progress)
Meaningful progress has been made.- Parameters:
progress- Current percentage complete. (0-1)
-
onError
void onError(java.lang.String message)
An error has occurred!- Parameters:
message- The error message reported by the process.
-
onComplete
void onComplete()
It has ended!
-
-