DeviceInfo

constructor(label: String, kind: Kind, deviceId: String, facingMode: FacingMode)

Creates a new device info instance.

Parameters

label

the human-readable label for the device

kind

the Kind of device (audio or video)

deviceId

the unique device identifier

facingMode

the FacingMode for camera devices, or null for audio devices