AVFoundation · IOS API REFERENCE
AVCaptureDevice.DiscoverySession
class · iOS 10.0+ · SDK 27.1
class DiscoverySession
Members (3)
init · iOS 10.0+init
TypeScriptstatic init(deviceTypes: Array<AVCaptureDevice_DeviceType>, mediaType: (AVMediaType) | null, position: AVCaptureDevice_Position): AVCaptureDevice_DiscoverySession
Swift declarationconvenience init(deviceTypes: [AVCaptureDevice.DeviceType], mediaType: AVMediaType?, position: AVCaptureDevice.Position)
get · iOS 10.0+devices
TypeScriptget devices(): Array<AVCaptureDevice>
Swift declarationvar devices: [AVCaptureDevice] { get }
get · iOS 13.0+supportedMultiCamDeviceSets
TypeScriptget supportedMultiCamDeviceSets(): Array<Array<AVCaptureDevice>>
Swift declarationvar supportedMultiCamDeviceSets: [Set<AVCaptureDevice>] { get }
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
AVCaptureDevice.DiscoverySession.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All AVFoundation types →