public class EchoingProgressListener extends Object implements VideoProgressListener
| Constructor and Description |
|---|
EchoingProgressListener() |
EchoingProgressListener(String prefix) |
EchoingProgressListener(String prefix,
PrintStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
onBegin()
It has begun!
|
void |
onComplete()
It has ended!
|
void |
onError(String message)
An error has occurred!
|
void |
onMessage(String message)
Any messages that arise during the activity.
|
void |
onProgress(Double progress)
Meaningful progress has been made.
|
public EchoingProgressListener()
public EchoingProgressListener(String prefix)
public EchoingProgressListener(String prefix, PrintStream out)
public void onBegin()
VideoProgressListeneronBegin in interface VideoProgressListenerpublic void onMessage(String message)
VideoProgressListeneronMessage in interface VideoProgressListenermessage - Whatever the process reported out.public void onProgress(Double progress)
VideoProgressListeneronProgress in interface VideoProgressListenerprogress - Current percentage complete. (0-1)public void onError(String message)
VideoProgressListeneronError in interface VideoProgressListenermessage - The error message reported by the process.public void onComplete()
VideoProgressListeneronComplete in interface VideoProgressListenerCopyright © 2020. All rights reserved.