Package 

Class VideoRecorder


  • 
    public abstract class VideoRecorder
    
                        

    Interface for video recording. Don't call start if already started. Don't call stop if already stopped.

    • Method Summary

      Modifier and Type Method Description
      final void start(@NonNull() VideoResult.Stub stub) Starts recording a video.
      final void stop(boolean isCameraShutdown) Stops recording.
      boolean isRecording() Returns true if it is currently recording.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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.