supportsExposureModeCustom(lensAperture:duration:iso:)
Reports if the given set of exposure parameters are supported by this format.
Declaration
func supportsExposureModeCustom(lensAperture: Float, duration: CMTime, iso ISO: Float) -> BoolDiscussion
The intended use of this method is to query which combinations of “Auto” parameters (AVFCapture/AVCaptureLensApertureAuto, AVFCapture/AVCaptureExposureDurationAuto, AVFCapture/AVCaptureISOAuto) are supported by this format. If you pass a numeric constant it will be range checked against the parameter’s supported min and max. However you can also pass the “Current” constants (AVFCapture/AVCaptureLensApertureCurrent, AVFCapture/AVCaptureExposureDurationCurrent, AVFCapture/AVCaptureISOCurrent) to generically query locked vs. auto parameter support without picking arbitrary lock values.
Devices that have fixed aperture will have equivalent support for AVFCapture/AVCaptureLensApertureAuto and AVFCapture/AVCaptureLensApertureCurrent.