Retrieve the whitebalance for the frame.
int camera_meta_get_whitebalance(const camera_metadata_t metadata,
uint16_t *whitebalance)
BlackBerry 10.2.0
The metadata of type CAMERA_METAFORMAT_WHITEBALANCE supplied to the user-defined consumer function camera_meta_iterate_metadata().
The returned white balance setting, in Kelvin.
Use this function to extract the whitebalance setting used when the frame was captured from provided metadata.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.