CameraWhiteBalanceSettings
public protocol CameraWhiteBalanceSettings : AnyObject
Settings to configure White balance.
Allows to configure the white balance mode and custom temperature.
-
Tells if a setting value has been changed and is waiting for change confirmation.
Declaration
Swift
var updating: Bool { get }
-
Supported white balance modes.
An empty set means that the whole setting is currently unsupported.
Declaration
Swift
var supportedModes: Set<CameraWhiteBalanceMode> { get }
-
Supported temperatures when mode is
custom
.Declaration
Swift
var supporteCustomTemperature: Set<CameraWhiteBalanceTemperature> { get }
-
White balance mode.
Value should be considered meaningless in case the set of
supportedModes
is empty. Value can only be changed to one of the valuesupportedModes
Declaration
Swift
var mode: CameraWhiteBalanceMode { get set }
-
White balance temperatures when mode is
custom
.Value should be considered meaningless in case the set of
supportedModes
is empty. Value can only be changed to one of the valuesupportedModes
Declaration
Swift
var customTemperature: CameraWhiteBalanceTemperature { get set }
-
Changes white balance mode and custom temperature.
Declaration
Swift
func set(mode: CameraWhiteBalanceMode, customTemperature: CameraWhiteBalanceTemperature?)
Parameters
mode
requested white balance mode
customTemperature
requested white balance temperature when mode is
custom