https://kotlinlang.org logo
Title
u

user

07/21/2022, 12:01 PM
How to implement increase/decrease or manual change White Balance (Temperature and Tint) in CameraX API using kotlin? I have developed brightness or exposure which increases and decreases successfully on the slider, Now I have to develop same for white balance according to temperature increase and decrease the temperature with the help of slider NOTE:- brightness and white balance are different things @SuppressLint("UnsafeOptInUsageError") private fun Slider.setup(camera: Camera) { camera.cameraInfo.exposureState.let { value = it.exposureCompensationIndex.toFloat()...