WhiteBalance

Properties

Link copied to clipboard
@get:RequiresPermission(value = "android.permission.CAMERA")
val autoMode: Int

Gets the auto white balance mode.

Link copied to clipboard

Gets supported auto white balance modes for the current camera

Link copied to clipboard
@get:RequiresPermission(value = "android.permission.CAMERA")
val isLocked: Boolean

Gets the auto white balance lock state.

Link copied to clipboard

Get maximum number of available white balance metering regions.

Link copied to clipboard
@get:RequiresPermission(value = "android.permission.CAMERA")
val meteringRegions: List<MeteringRectangle>

Gets the white balance metering regions.

Functions

Link copied to clipboard
@RequiresPermission(value = "android.permission.CAMERA")
suspend fun setAutoMode(autoMode: Int)

Sets auto white balance mode.

Link copied to clipboard
@RequiresPermission(value = "android.permission.CAMERA")
suspend fun setIsLocked(isLocked: Boolean)

Sets the auto white balance lock state.

Link copied to clipboard
@RequiresPermission(value = "android.permission.CAMERA")
suspend fun setMeteringRegions(value: List<MeteringRectangle>)

Sets the white balance metering regions.