-
public interface VideoRecorder.VideoResultListenerListens for video recorder events.
-
-
Method Summary
Modifier and Type Method Description abstract voidonVideoResult(@Nullable() VideoResult.Stub result, @Nullable() Exception exception)The operation was completed, either with success or with an error. abstract voidonVideoRecordingStart()The callback for the actual video recording starting. abstract voidonVideoRecordingEnd()Video recording has ended. abstract voidonFrameDrew(Bitmap frameData, int frameIndex)-
-
Method Detail
-
onVideoResult
abstract void onVideoResult(@Nullable() VideoResult.Stub result, @Nullable() Exception exception)
The operation was completed, either with success or with an error.
- Parameters:
result- the result or null if errorexception- the error or null if everything went fine
-
onVideoRecordingStart
abstract void onVideoRecordingStart()
The callback for the actual video recording starting.
-
onVideoRecordingEnd
abstract void onVideoRecordingEnd()
Video recording has ended. We will finish processing the fileand soon onVideoResult will be called.
-
onFrameDrew
abstract void onFrameDrew(Bitmap frameData, int frameIndex)
-
-
-
-