RecordingModeEnum

enum RecordingModeEnum

Different types of recording modes supported by the device.

  • Video recording is disabled, but the camera can still live stream, basic event detectors are still enabled, and images can be captured.

    Declaration

    Swift

    case disabled
  • cvr

    Continuous video recording.

    Declaration

    Swift

    case cvr
  • ebr

    Event-based recording that only records video when an event is detected by the camera’s perception pipeline. For battery-powered cameras, the user can configure the maximum duration of a recorded clip.

    Declaration

    Swift

    case ebr
  • Records still images when an event is detected by the camera’s perception pipeline.

    Declaration

    Swift

    case images
  • The camera supports live streaming, but all event detectors are off and no video or images are recorded.

    Declaration

    Swift

    case liveView
  • etr

    Event-triggered recording that only records a short video when an event is detected by the camera’s perception pipeline. The user cannot configure the duration of the recorded clip.

    Declaration

    Swift

    case etr
  • Creates a new instance with the specified raw value.

    If there is no value of the type that corresponds with the specified raw value, this initializer returns nil. For example:

    enum PaperSize: String {
        case A4, A5, Letter, Legal
    }
    
    print(PaperSize(rawValue: "Legal"))
    // Prints "Optional(PaperSize.Legal)"
    
    print(PaperSize(rawValue: "Tabloid"))
    // Prints "nil"
    

    Declaration

    Swift

    init?(rawValue: UInt64)

    Parameters

    rawValue

    The raw value to use for the new instance.