CBLCameraDiscoveryMode

Objective-C

enum CBLCameraDiscoveryMode : NSInteger {}

Swift

enum CameraDiscoveryMode : Int, @unchecked Sendable

Options for discovering cameras.

  • Only search for cameras on the network.

    Declaration

    Objective-C

    CBLCameraDiscoveryModeNetworkOnly = 0

    Swift

    case networkOnly = 0
  • Only search for cameras via USB.

    Declaration

    Objective-C

    CBLCameraDiscoveryModeUSBOnly = 1

    Swift

    case usbOnly = 1
  • Search for cameras both on the network and via USB.

    Declaration

    Objective-C

    CBLCameraDiscoveryModeNetworkAndUSB = 2

    Swift

    case networkAndUSB = 2