Config.DepthEstimationMode


public final class Config.DepthEstimationMode


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

Setting this feature to DepthEstimationMode.Enabled requires that the SCENE_UNDERSTANDING_FINE Android permission is granted by the calling application.

Summary

Public fields

static final @NonNull Config.DepthEstimationMode

No information about scene depth will be provided.

static final @NonNull Config.DepthEstimationMode

Depth estimation will be enabled.

Public methods

@NonNull String

Public fields

Disabled

public static final @NonNull Config.DepthEstimationMode Disabled

No information about scene depth will be provided.

Enabled

public static final @NonNull Config.DepthEstimationMode Enabled

Depth estimation will be enabled. Note that setting this mode will consume additional runtime resources.

Public methods

toString

public @NonNull String toString()