videoDevices

The set of available video (camera) devices detected on this device.

This set is populated when getVideoDevices is called. Each entry contains the camera label, device ID, and facing mode (front or back).

Code Example:


val cameras = VideoSDK.getVideoDevices()
for (camera in cameras) {
    Log.d("SDK", "${camera.label} - ${camera.facingMode}")
}

See also