APICore Module
CameraControl
Runtime camera adjustments.
CameraControl
The CameraControl interface allows modifying camera parameters while the camera is active.
Capabilities
Zoom
Control the zoom ratio.
fun setZoomRatio(ratio: Float)
fun setLinearZoom(linearZoom: Float) // 0.0 to 1.0Focus
Focus on a specific point.
fun startFocusAndMetering(point: FocusPoint)Exposure
Adjust exposure compensation.
fun setExposureCompensation(index: Int)Torch
Enable or disable the torch (flashlight).
fun enableTorch(enabled: Boolean)