Contents

activePrimaryConstituentDeviceSwitchingBehavior

The switching behavior of the active constituent device.

Declaration

var activePrimaryConstituentDeviceSwitchingBehavior: AVCaptureDevice.PrimaryConstituentDeviceSwitchingBehavior { get }

Discussion

For virtual devices with multiple constituent devices, this property provides the active switching behavior. It equals the value of the primaryConstituentDeviceSwitchingBehavior property except when you record with an AVCaptureMovieFileOutput that you configure to use different behavior.

The value of this property is AVCaptureDevice.PrimaryConstituentDeviceSwitchingBehavior.unsupported for devices that don’t support constituent device switching.

This property is key-value observable.

See Also

Restricting camera switching