This class is deprecated because you shouldn't use it directly.
public class VideoEditingCallbacks
extends java.lang.Object
Constructor and Description |
---|
VideoEditingCallbacks()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static int |
getProgress()
Deprecated.
Get the percentage of the progress
|
static void |
logsFromNative(java.lang.String toBeLogged)
Deprecated.
Invoked by the native code
|
static void |
runVideoErrorCallback(java.lang.String input)
Deprecated.
This method is invoked by the native code.
|
static void |
runVideoOptimizedCallback(java.lang.String input)
Deprecated.
This method is invoked by the native code.
|
static void |
setOptimizedVideoCallback(java.lang.String input,
java.lang.Runnable optimizeVideoForUploadCallback)
Deprecated.
Sets a success callback for the given inputVideoFile, that is called when
the optimization is completed.
|
static void |
setProgress(int progress)
Deprecated.
Invoked by the native code
|
static void |
setVideoErrorCallback(java.lang.String input,
java.lang.Runnable errorCallback)
Deprecated.
Sets an error callback for the given inputVideoFile, that is called when
the optimization fails.
|
public static void setOptimizedVideoCallback(java.lang.String input, java.lang.Runnable optimizeVideoForUploadCallback)
input,
- it ignores the path, it consider only the file name, that
must to be unique!optimizeVideoForUploadCallback
- callbackpublic static void setVideoErrorCallback(java.lang.String input, java.lang.Runnable errorCallback)
input,
- it ignores the path, it consider only the file name, that
must to be unique!errorCallback
- callbackpublic static void runVideoOptimizedCallback(java.lang.String input)
input,
- it ignores the path, it consider only the file name, that
must to be unique!public static void runVideoErrorCallback(java.lang.String input)
input,
- it ignores the path, it consider only the file name, that
must to be unique!public static int getProgress()
public static void setProgress(int progress)
progress
- percentagepublic static void logsFromNative(java.lang.String toBeLogged)
toBeLogged
- by the EDT