AVCaptureDevice.SetExposureTargetBias(Single, Action<CMTime>) Method

Definition

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.

completionHandler
Action<CMTime>

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.

Applies to