CameraConfig.StereoCameraUsage

public static final enum CameraConfig.StereoCameraUsage

Stereo camera usage.

Inherited Methods

Enum Values

DO_NOT_USE

public static final CameraConfig.StereoCameraUsage DO_NOT_USE

When used as a camera filter, via CameraConfigFilter.setStereoCameraUsage(EnumSet), indicates that ARCore will not attempt to use a stereo multi-camera , even if one is present. Can be used to limit power consumption. Available on all ARCore supported devices.

When returned by CameraConfig.getStereoCameraUsage(), indicates that the camera config will not use a stereo camera, even if one is present on the device.

REQUIRE_AND_USE

public static final CameraConfig.StereoCameraUsage REQUIRE_AND_USE

When used as a camera filter, via CameraConfigFilter.setStereoCameraUsage(EnumSet), indicates that a stereo multi-camera must be present on the device, and the stereo camera must be used by ARCore. Increases CPU and device power consumption. Not supported on all devices.

Currently not supported when SharedCamera API is used to share control of the camera with ARCore.

When returned by CameraConfig.getStereoCameraUsage(), indicates that a stereo camera is present on the device and will be used by ARCore.