VideoUnavailableReason

enum VideoUnavailableReason

The reason why the video is unavailable.

  • Unspecified reason.

    Declaration

    Swift

    case unspecified
  • The user has disabled the video.

    Declaration

    Swift

    case user
  • The schedule has disabled the video.

    Declaration

    Swift

    case schedule
  • The occupancy has disabled the video.

    Declaration

    Swift

    case occupancy
  • There are no events to show.

    Declaration

    Swift

    case noEvents
  • The camera is charging.

    Declaration

    Swift

    case charging
  • The privacy switch has disabled the video.

    Declaration

    Swift

    case privacySwitch
  • The thermal override has disabled the video.

    Declaration

    Swift

    case thermalOverride
  • The device is updating.

    Declaration

    Swift

    case deviceUpdating
  • Deprecated

    Declaration

    Swift

    case usedByDuo
  • The device is not connected.

    Declaration

    Swift

    case notConnected
  • The battery override has disabled the video.

    Declaration

    Swift

    case batteryOverride
  • The device is unmounted.

    Declaration

    Swift

    case unmounted
  • The device has a battery fault.

    Declaration

    Swift

    case batteryFault
  • The device is still image only.

    Declaration

    Swift

    case stillImageOnly
  • The device is in Event-Triggered Recording (ETR) mode, so only a limited amount of video is available.

    Declaration

    Swift

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