Instance Property

exposureTargetBias

Bias applied to the target exposure value, in EV units.

Declaration

var exposureTargetBias: Float { get }

Discussion

When exposureMode is AVCaptureDevice.ExposureMode.autoExpose or AVCaptureDevice.ExposureMode.locked, the bias will affect both metering (exposureTargetOffset), and the actual exposure level (exposureDuration and iso). When the exposure mode is AVCaptureDevice.ExposureMode.custom, it will only affect metering.

This property can be read at any time, but can only be set using the setExposureTargetBias(_:completionHandler:): method.

You can observe changes to the value of this property using Key-value observing.

See Also

Managing Image Exposure

var exposureDuration: CMTime

The length of time over which exposure takes place.

var exposureTargetOffset: Float

The metered exposure level's offset from the target exposure value, in EV units.

var minExposureTargetBias: Float

The minimum supported exposure bias, in EV units.

var maxExposureTargetBias: Float

The maximum supported exposure bias, in EV units.

var activeMaxExposureDuration: CMTime

The maximum exposure duration, in seconds, defined in the auto-exposure algorithm.

func setExposureTargetBias(Float, completionHandler: ((CMTime) -> Void)?)

Sets the bias to be applied to the target exposure value.

class let currentExposureTargetBias: Float

A special constant representing the current exposure bias value.

class let currentExposureDuration: CMTime

A special constant representing the current exposure duration setting.