AVCaptureDevice.SetExposureTargetBias(Single, Action<CMTime>) 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.
Sets the exposure target bias (measured in Exposure Value units).
[Foundation.Export("setExposureTargetBias:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetExposureTargetBias (float bias, Action<CoreMedia.CMTime> completionHandler);
abstract member SetExposureTargetBias : single * Action<CoreMedia.CMTime> -> unit
override this.SetExposureTargetBias : single * Action<CoreMedia.CMTime> -> unit
Parameters
- bias
- Single
Bias to apply to the exposure target. You can pass ExposureTargetBiasCurrent if you do not want to specify a value, and instead want to use the current value.
This method is invoked when the bias has been set.
The method receives a CMTime parameter with the device clock timestamp of the first sample buffer that received the new bias setting.
If you must compare the time stamp with the buffers delivered by AVCaptureVideoDataOutput you must convert the time to the master clock.
This parameter can be null
.
- Attributes
Remarks
You must invoke the LockForConfiguration(NSError) method before invoking this method.