Config.DepthEstimationMode


public final class Config.DepthEstimationMode extends Config.ConfigMode


Feature that allows more accurate information about scene depth and meshes.

Summary

Public fields

static final @NonNull Config.DepthEstimationMode

This field is deprecated. Use androidx.xr.runtime.DepthEstimationMode instead.

static final @NonNull Config.DepthEstimationMode

This field is deprecated. Use androidx.xr.runtime.DepthEstimationMode instead.

static final @NonNull Config.DepthEstimationMode

This field is deprecated. Use androidx.xr.runtime.DepthEstimationMode instead.

static final @NonNull Config.DepthEstimationMode

This field is deprecated. Use androidx.xr.runtime.DepthEstimationMode instead.

Public fields

DISABLED

public static final @NonNull Config.DepthEstimationMode DISABLED

No information about scene depth will be provided.

RAW_ONLY

public static final @NonNull Config.DepthEstimationMode RAW_ONLY

Depth estimation will be enabled with raw depth and confidence.

Supported runtimes:

  • OpenXR

  • Play Services (on supported devices)

Required permissions:

SMOOTH_AND_RAW

public static final @NonNull Config.DepthEstimationMode SMOOTH_AND_RAW

Depth estimation will be enabled with both raw and smooth depth and confidence. Note that setting this mode will consume additional runtime resources.

Supported runtimes:

  • OpenXR

  • Play Services (on supported devices)

Required permissions:

SMOOTH_ONLY

public static final @NonNull Config.DepthEstimationMode SMOOTH_ONLY

Depth estimation will be enabled with smooth depth and confidence.

Supported runtimes:

  • OpenXR

  • Play Services (on supported devices)

Required permissions: