listDeviceModes

fun listDeviceModes(deviceName: String = defaultDevice()): List<VideoDeviceMode>(source)

Lists the modes that the video device deviceName supports, a name from listDeviceNames. A mode can be passed to fromDevice and loadVideoDevice. On Linux the modes have no frame rates.