class WhiteBalance
@EXClassNullAway class WhiteBalance
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
method
method getWhiteBalancePreset
WhiteBalancePreset getWhiteBalancePreset ()
Package: dji.common.camera
Description:
The current preset for white balance.
Return:
method getColorTemperature
int getColorTemperature ()
Package: dji.common.camera
Description:
The current setting for color temperature. Real color temperature value (K) = value * 100. For example, 50 -> 5000K.
Return:
method WhiteBalance
WhiteBalance(@NonNull WhiteBalancePreset preset)
Package: dji.common.camera
Description:
Create a WhiteBalance
instance with a white balance preset.
method WhiteBalance
WhiteBalance(@NonNull WhiteBalancePreset preset, @IntRange (from = 20 , to = 100 ) int temperature)
Package: dji.common.camera
Description:
Create a WhiteBalance
instance with white balance preset and temperature.
@NonNull WhiteBalancePreset preset White balance preset. @IntRange(from = 20, to = 100) int temperature Color temperature value to be set in the range of [20, 100]. Real color temperature value (K) = value * 100. For example, 50 -> 5000K.