Package-level declarations

Properties

Link copied to clipboard

Gets back camera id list.

Link copied to clipboard

Gets camera id list.

Link copied to clipboard
Link copied to clipboard

Gets external camera id list.

Link copied to clipboard

Gets front camera id list.

Functions

Link copied to clipboard

Gets list of 10-bit dynamic range output profiles.

Link copied to clipboard

Gets supported auto exposure modes.

Link copied to clipboard

Gets supported auto focus modes.

Link copied to clipboard

Gets supported auto white balance modes

Link copied to clipboard

Gets camera characteristics.

Link copied to clipboard

Gets list of framerate for a camera.

Link copied to clipboard
fun <T : Any> Context.getCameraOutputSizes(klass: Class<T>, cameraId: String): List<Size>
fun <T : Any> CameraManager.getCameraOutputSizes(klass: Class<T>, cameraId: String): List<Size>

Gets list of output sizes compatible with klass of a camera. Use it to select camera preview size.

Link copied to clipboard

Gets all output capture sizes.

fun Context.getCameraOutputStreamSizes(cameraId: String, imageFormat: Int = ImageFormat.YUV_420_888): List<Size>
fun CameraManager.getCameraOutputStreamSizes(cameraId: String, imageFormat: Int = ImageFormat.YUV_420_888): List<Size>

Gets list of output stream sizes of a camera.

Link copied to clipboard

Gets the number of camera supported exposure metering regions.

Link copied to clipboard

Gets exposure range.

Link copied to clipboard

Gets exposure compensation step.

Link copied to clipboard

Gets camera facing direction.

Link copied to clipboard

Gets if camera supports focus metering regions.

Link copied to clipboard

Gets supported lens distance range.

Link copied to clipboard

Gets max scaler zoom.

Link copied to clipboard

Gets supported iso range

Link copied to clipboard

Gets the number of camera supported white balance metering regions.

Link copied to clipboard
@RequiresApi(value = 30)
fun Context.getZoomRatioRange(cameraId: String): Range<Float>?

Gets zoom ratio range.

Link copied to clipboard

Whether the camera supports 10-bit dynamic range output.

Link copied to clipboard

Whether the cameraId is a back camera id

Link copied to clipboard

Whether the cameraId is an external camera id

Link copied to clipboard

Whether the camera has a flash device.

Link copied to clipboard

Whether the camera supports a frame rate

Link copied to clipboard

Whether the cameraId is a front camera id

Link copied to clipboard

Whether the camera supports optical stabilization.