VideoRecorderStatus

public class VideoRecorderStatus : VideoStatus

Observable class provides status updates for the video recorder

Properties of this class are updated by the VideoRecorderProtocol methods. Provides the following published observable properties:

  • isInitialized - is the recorder initialized
  • isRecording - is the recorder currently recording
  • duration - duration of the current recording
  • orientation - current orientation of the video recorder
  • zoom - current zoom level of the video recorder

Note

You can get the current object from the VideoRecorderProtocol.status prop
  • Undocumented

    Declaration

    Swift

    public override init()
  • is the recorder initialized if not then you should call VideoRerderProtocol.initVideoRecorder() function

    Declaration

    Swift

    @Published
    public var isInitialized: Bool { get set }
  • duration of the current recording.

    The duration will be updated every second during the recording. It will be reset to 0 when the recording is stopped.

    Declaration

    Swift

    @Published
    public var duration: TimeInterval { get set }
  • Current orientation of the video recorder

    Use VideoRecorderProtocol.changeOrientation() to adjust it according to the phone orientation. See method docs for details.

    Declaration

    Swift

    @Published
    public var orientation: AVCaptureVideoOrientation { get set }
  • Current zoom level of the video recorder

    Declaration

    Swift

    @Published
    public var zoom: CGFloat { get set }
  • List of full videos recorded

    Local path and info for the video recorded in this session. Contains multiple files if there were multiple recordings in the same session or chunked video recording was used.

    Note

    This list will be empty if keepFullVideos is set to false in the session

    Declaration

    Swift

    @Published
    public var fullVideos: [VideoInfo] { get set }