DeviceInfo

class DeviceInfo : MediaDeviceInfo

Represents information about a media device (camera or microphone).

Obtain device information using getDevices, getVideoDevices, or getAudioDevices.

Code Example:


Set<DeviceInfo> devices = VideoSDK.getDevices();
for (DeviceInfo device : devices) {
    Log.d("Device", device.getLabel() + " (" + device.getKind() + ")");
}

See also

Inheritors

Constructors

Link copied to clipboard
constructor(label: String, kind: Kind, deviceId: String, facingMode: FacingMode)
Creates a new device info instance.

Properties

Link copied to clipboard
The unique identifier for this device.
Link copied to clipboard
The facing direction for camera devices, or null for audio devices.
Link copied to clipboard
val kind: Kind
The kind of this device (audio or video).
Link copied to clipboard
The human-readable label for this device (e.g., "Front Camera", "Built-in Microphone").