Düzenle

Aracılığıyla paylaş


AVCaptureDevice.UnlockForConfiguration Method

Definition

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.

Applies to