getCameraOutputStreamSizes

fun CameraCharacteristics.getCameraOutputStreamSizes(imageFormat: Int = ImageFormat.YUV_420_888): List<Size>(source)

Gets list of output stream sizes of a camera.

Return

List of resolutions supported by a camera

See also

Context.getCameraOutputStreamSizes

Gets all output capture sizes.

Return

List of resolutions supported by all camera