-
public abstract class VideoRecorderInterface for video recording. Don't call start if already started. Don't call stop if already stopped.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceVideoRecorder.VideoResultListenerListens for video recorder events.
-
Method Summary
Modifier and Type Method Description final voidstart(@NonNull() VideoResult.Stub stub)Starts recording a video. final voidstop(boolean isCameraShutdown)Stops recording. booleanisRecording()Returns true if it is currently recording. -
-
Method Detail
-
start
final void start(@NonNull() VideoResult.Stub stub)
Starts recording a video.
- Parameters:
stub- the video stub
-
stop
final void stop(boolean isCameraShutdown)
Stops recording.
- Parameters:
isCameraShutdown- whether this is a full shutdown, camera is being closed
-
isRecording
boolean isRecording()
Returns true if it is currently recording.
-
-
-
-