Instance Method

isExposureModeSupported(_:)

Returns a Boolean value that indicates whether the given exposure mode is supported.

Declaration

func isExposureModeSupported(_ exposureMode: AVCaptureDevice.ExposureMode) -> Bool

Parameters

exposureMode

The exposure mode for which to check support.

Return Value

true if exposureMode is supported, otherwise false.

See Also

Managing Exposure Settings

var isAdjustingExposure: Bool

Indicates whether the device is currently adjusting its exposure setting.

var exposureMode: AVCaptureDevice.ExposureMode

The exposure mode for the device.

var exposurePointOfInterest: CGPoint

The point of interest for exposure.

var isExposurePointOfInterestSupported: Bool

Indicates whether the device supports a point of interest for exposure.

enum AVCaptureDevice.ExposureMode

Constants to specify the exposure mode of a capture device.