class DJICameraWhiteBalance
@interface DJICameraWhiteBalance : NSObject
Description:
This class contains current values for some camera parameters related to white balance. Values for the camera's current white balance preset and color temperature can be obtained from this class.
Class Members:
White Balance Preset
property
property preset
@property (nonatomic , readonly ) DJICameraWhiteBalancePreset preset
Header: DJICameraSettingsDef.h
Description:
The current preset for white balance.
See Also:
DJICameraWhiteBalancePreset
Color Temperature
property
property colorTemperature
@property (nonatomic , readonly ) uint8_t colorTemperature
Header: DJICameraSettingsDef.h
Description:
The current setting for color temperature. Real color temperature value (K) = value * 100. For example, 50 -> 5000K.
method initWithPreset
-(nullable instancetype )initWithPreset:(DJICameraWhiteBalancePreset)preset
Header: DJICameraSettingsDef.h
Description:
Create a DJICameraWhiteBalance
instance with a white balance preset.
Return:
method initWithCustomColorTemperature
-(nullable instancetype )initWithCustomColorTemperature:(uint8_t)temperature
Header: DJICameraSettingsDef.h
Description:
Create a DJICameraWhiteBalance
instance with white balance preset and temperature.
uint8_t temperature Color temperature value to be set in the range of [20, 100]. Real color temperature value (K) = value * 100. For example, 50 -> 5000K.
Return:
nullable instancetype A white balance instance. 'nil' if 'temperature' is invalid.