GSCameraWhiteBalanceSettings
@objc
public protocol GSCameraWhiteBalanceSettings
Settings to configure White balance.
Note
This protocol is for Objective-C compatibility only.-
Tells if a setting value has been changed and is waiting for change confirmation.
Declaration
Swift
var updating: Bool { get }
-
White balance mode.
Declaration
Swift
var mode: CameraWhiteBalanceMode { get set }
-
White balance temperatures when mode is
custom
.Declaration
Swift
var customTemperature: CameraWhiteBalanceTemperature { get set }
-
Checks if a white balance mode is supported.
Declaration
Swift
func isModeSupported(_ mode: CameraWhiteBalanceMode) -> Bool
Parameters
mode
mode to check
Return Value
true
if the mode is supported -
Checks if a white balance temperature for
custom
mode is supported.Declaration
Swift
func isCustomTemperatureSupported(_ temperature: CameraWhiteBalanceTemperature) -> Bool
Parameters
temperature
white balance temperature to check
Return Value
true
if the white balance temperature is supported -
Sets the white balance mode to custom with a temperature.
Declaration
Swift
func setCustomMode(temperature: CameraWhiteBalanceTemperature)
Parameters
temperature
temperature to set with the custom mode