VideoDeviceInfo

Represents information about a video (camera) device.

This is a specialized subclass of DeviceInfo with the Kind automatically set to video.

Obtain video device information using getVideoDevices.

Code Example:


Set<VideoDeviceInfo> cameras = VideoSDK.getVideoDevices();
for (VideoDeviceInfo cam : cameras) {
    if (cam.getFacingMode() == FacingMode.front) {
        VideoSDK.setSelectedVideoDevice(cam);
        break;
    }
}

See also

VideoSDK.getSelectedVideoDevice()

Constructors

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

Inherited 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").