Instance Property

exposureDuration

The length of time over which exposure takes place.

Declaration

var exposureDuration: CMTime { get }

Discussion

Only exposure duration values between minExposureDuration and maxExposureDuration are supported.

The exposure duration can be read at any time, regardless of exposure mode, but can only be set by the setExposureModeCustom(duration:iso:completionHandler:) method.

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

See Also

Managing Image Exposure

var exposureTargetOffset: Float

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

var exposureTargetBias: Float

Bias applied to 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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software