AVCaptureDevice.SetPrimaryConstituentDeviceSwitchingBehaviorLocked Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.