data class MediaDevice
Media device with its info.
<init> |
Media device with its info. MediaDevice(label: String, type: MediaDeviceType, id: String? = null) |
id |
: String - Unique ID, if applicable val id: String? |
label |
: String - human readable string describing the device. val label: String |
order |
val order: Int |
type |
: MediaDeviceType - media device type val type: MediaDeviceType |
toString |
fun toString(): String |
listSupportedVideoCaptureFormats |
Lists currently available video devices. 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> |
listVideoDevices |
Lists currently available video devices. fun listVideoDevices(cameraManager: CameraManager): List<MediaDevice> |