listSupportedVideoCaptureFormats

fun listSupportedVideoCaptureFormats(cameraManager: CameraManager, mediaDevice: MediaDevice, maxVideoFps: Int = DEFAULT_MAX_VIDEO_FORMAT_FPS, maxVideoWidth: Int = DEFAULT_MAX_VIDEO_WIDTH, maxVideoHeight: Int = DEFAULT_MAX_VIDEO_HEIGHT): List<VideoCaptureFormat>

Lists currently available video devices.

Return

List - A list of supported formats for the given device

Parameters

cameraManager

: CameraManager - Camera manager to use for enumeration

mediaDevice

: MediaDevice - Media device to inspect

maxVideoFps

: Int - Desired max fps