One Logo Pool Ball
AVFoundation · IOS API REFERENCE

AVCaptureDevice.DiscoverySession

class · iOS 10.0+ · SDK 27.1

class DiscoverySession

Members (3)

init · iOS 10.0+

init

TypeScript
static init(deviceTypes: Array<AVCaptureDevice_DeviceType>, mediaType: (AVMediaType) | null, position: AVCaptureDevice_Position): AVCaptureDevice_DiscoverySession
Swift declaration
convenience init(deviceTypes: [AVCaptureDevice.DeviceType], mediaType: AVMediaType?, position: AVCaptureDevice.Position)
get · iOS 10.0+

devices

TypeScript
get devices(): Array<AVCaptureDevice>
Swift declaration
var devices: [AVCaptureDevice] { get }
get · iOS 13.0+

supportedMultiCamDeviceSets

TypeScript
get supportedMultiCamDeviceSets(): Array<Array<AVCaptureDevice>>
Swift declaration
var 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 →