Language

AVCaptureDevice.SetPrimaryConstituentDeviceSwitchingBehaviorLocked Method

Definition

Locks primary constituent device switching to the specified constituent device.

[Foundation.Export("setPrimaryConstituentDeviceSwitchingBehaviorLockedWithDevice:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetPrimaryConstituentDeviceSwitchingBehaviorLocked(AVFoundation.AVCaptureDevice device);
[<Foundation.Export("setPrimaryConstituentDeviceSwitchingBehaviorLockedWithDevice:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetPrimaryConstituentDeviceSwitchingBehaviorLocked : AVFoundation.AVCaptureDevice -> unit
override this.SetPrimaryConstituentDeviceSwitchingBehaviorLocked : AVFoundation.AVCaptureDevice -> unit

Parameters

device
AVCaptureDevice

The constituent device to use as the primary device.

Attributes

Remarks

The operation must be supported, and the receiving device must be locked for configuration.

Applies to