Google is committed to advancing racial equity for Black communities. See how.

GoogleARCore.ARCoreCameraConfigFilter.StereoCameraUsageFilter

This allows an app to use or disable a stereo camera if present on the device.

Summary

Public attributes

DoNotUse = true
bool
Filters for camera configs where a stereo camera is not present, or is present but will not be used by ARCore.
RequireAndUse = true
bool
Filters for camera configs that require a stereo camera to be present on the device, and that will be used by ARCore.

Public attributes

DoNotUse

bool DoNotUse = true

Filters for camera configs where a stereo camera is not present, or is present but will not be used by ARCore.

Available on all ARCore supported devices.

RequireAndUse

bool RequireAndUse = true

Filters for camera configs that require a stereo camera to be present on the device, and that will be used by ARCore.

See the ARCore supported devices page for a list of devices that currently have supported stereo cameras.