VisionSourceOptions

class VisionSourceOptions : NSObject

Undocumented

  • The device type for use in vision source

    Declaration

    Swift

    var deviceOption: VisionSourceDeviceOption { get set }
  • The preview window for use in UI

    Declaration

    Swift

    weak var preview: UIView? { get set }
  • Initializes a new instance of source options using the provided capture device configuration.

    Declaration

    Swift

    init?(deviceOption: VisionSourceDeviceOption, preview: UIView?)

    Parameters

    deviceOption

    An AZVisionSourceDeviceOptions object predefined device configuration

    preview

    A UIView object for preview window

    Return Value

    a vision source options instance.