getCameraOutputStreamSizes

Gets all output capture sizes.

Return

List of resolutions supported by all camera


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

Gets list of output stream sizes of a camera.

Return

List of resolutions supported by a camera

Parameters

cameraId

camera id

See also