DeviceFilter

data class DeviceFilter(val physicalDevices: List<DeviceType>? = null)

A filter to find the best matching CameraDevice with getCameraDevice.

Constructors

Link copied to clipboard
constructor(physicalDevices: List<DeviceType>? = null)

Properties

Link copied to clipboard

The desired physical devices your camera device should have, e.g. [WIDE_ANGLE] for a simple device that starts up faster, or [ULTRA_WIDE_ANGLE, WIDE_ANGLE, TELEPHOTO] for a virtual device that can switch between lenses while zooming.