public static interface MediaTranscoder.Listener
| Modifier and Type | Method and Description |
|---|---|
void |
onTranscodeCanceled()
Called when transcode canceled.
|
void |
onTranscodeCompleted()
Called when transcode completed.
|
void |
onTranscodeFailed(java.lang.Exception exception)
Called when transcode failed.
|
void |
onTranscodeProgress(double progress)
Called to notify progress.
|
void onTranscodeProgress(double progress)
progress - Progress in [0.0, 1.0] range, or negative value if progress is unknown.void onTranscodeCompleted()
void onTranscodeCanceled()
void onTranscodeFailed(java.lang.Exception exception)
exception - Exception thrown from MediaTranscoderEngine.transcodeVideo(String, MediaFormatStrategy).
Note that it IS NOT Throwable. This means Error won't be caught.