CameraConfig.StereoCameraUsage

public static final enum CameraConfig.StereoCameraUsage

Stereo camera usage.

Inherited Methods

final Object
clone()
final int
int
compareTo(Object arg0)
final Optional<EnumDesc<CameraConfig.StereoCameraUsage>>
describeConstable()
final boolean
equals(Object arg0)
final void
finalize()
final Class<CameraConfig.StereoCameraUsage>
getDeclaringClass()
final int
hashCode()
final String
name()
final int
ordinal()
String
toString()
static <T extends Enum<T>> T
valueOf(Class<T> arg0, String arg1)
Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()
abstract Optional<? extends ConstantDesc>
describeConstable()
abstract int

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.