AVCaptureDevice.UnlockForConfiguration 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.
With LockForConfiguration(NSError), commits the requested configuration changes.
[Foundation.Export("unlockForConfiguration")]
public virtual void UnlockForConfiguration ();
abstract member UnlockForConfiguration : unit -> unit
override this.UnlockForConfiguration : unit -> unit
- Attributes
Remarks
After the AVCaptureSession has started, all changes to the AVCaptureDevice configuration must be bracketed with calls to LockForConfiguration(NSError) and UnlockForConfiguration(). Configuration changes that are performed outside of such calls will throw exceptions.