public static final enum
CameraConfig.DepthSensorUsage
Depth sensor usage.
Inherited Methods
class
java.lang.Enum
final
Object
|
clone()
|
final
int
|
compareTo(CameraConfig.DepthSensorUsage arg0)
|
int
|
compareTo(Object arg0)
|
final
Optional<EnumDesc<CameraConfig.DepthSensorUsage>>
|
describeConstable()
|
final
boolean
|
equals(Object arg0)
|
final
void
|
finalize()
|
final
Class<CameraConfig.DepthSensorUsage>
|
getDeclaringClass()
|
final
int
|
hashCode()
|
final
String
|
name()
|
final
int
|
ordinal()
|
String
|
toString()
|
static
<T extends Enum<T>>
T
|
class
java.lang.Object
interface
java.lang.constant.Constable
abstract
Optional<? extends ConstantDesc>
|
describeConstable()
|
interface
java.lang.Comparable
abstract
int
|
compareTo(CameraConfig.DepthSensorUsage arg0)
|
Enum Values
DO_NOT_USE
public static final CameraConfig.DepthSensorUsage DO_NOT_USE
When used as a camera filter, via CameraConfigFilter.setDepthSensorUsage(EnumSet)
,
indicates that ARCore will not attempt to use a depth sensor, even if it is present. Most
commonly used to filter camera configurations when the app requires exclusive access to the
depth sensor outside of ARCore, for example to support 3D mesh reconstruction. Available on
all ARCore supported devices.
When returned by CameraConfig.getDepthSensorUsage()
, indicates that the camera config will not
use a depth sensor.
REQUIRE_AND_USE
public static final CameraConfig.DepthSensorUsage REQUIRE_AND_USE
When used as a camera filter, via CameraConfigFilter.setDepthSensorUsage(EnumSet)
,
indicates that a depth sensor must be present on the device, and the depth sensor will be
used by ARCore. 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.getDepthSensorUsage()
, indicates that the camera config will use
a depth sensor.