MediaDevice

data class MediaDevice(val label: String, val type: MediaDeviceType, val id: String? = null)

Media device with its info.

Constructors

Link copied to clipboard
constructor(label: String, type: MediaDeviceType, id: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val id: String? = null

: String - Unique device identifier. For video devices, this is the camera ID from CameraManager. For audio devices, this is the AudioDeviceInfo.id converted to String. It's never null when returned by the SDK's APIs

Link copied to clipboard

: String - human readable string describing the device.

Link copied to clipboard
val order: Int
Link copied to clipboard

: MediaDeviceType - media device type

Functions

Link copied to clipboard
open override fun toString(): String