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


public static final enum Config.DepthMode

Selects the desired depth mode. Not all devices support all modes. Use isDepthModeSupported(Config.DepthMode) to find whether the current device and the selected camera supports a particular depth mode.

Inherited Methods

Enum Values

public static final Config.DepthMode AUTOMATIC

On supported devices, the best possible depth is estimated based on hardware and software sources. Available sources of automatic depth are depth from motion and active depth cameras. This option adds significant computational load.

public static final Config.DepthMode DISABLED

No depth information will be provided. Calling acquireDepthImage() throws IllegalStateException.