AVCaptureDevice.LockForConfiguration(NSError) 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.
Gains exclusive access to the device configuration.
[Foundation.Export("lockForConfiguration:")]
public virtual bool LockForConfiguration (out Foundation.NSError error);
abstract member LockForConfiguration : -> bool
override this.LockForConfiguration : -> bool
Parameters
- error
- NSError
Returns
- Attributes
Remarks
Modifying the configuration of the device after the session starts requires bracketing the configuration calls with this and UnlockForConfiguration(). If these methods are not properly called and matched, attempts to change the configuration will result in exceptions.