Config

public class Config

Holds settings that are used to configure the session. To apply a configuration, use Session.configure(Config).

Nested Classes

enum Config.AugmentedFaceMode Selects the behavior of Augmented Faces subsystem. 
enum Config.CloudAnchorMode Describes the desired behavior of the ARCore Cloud Anchor API. 
enum Config.DepthMode Selects the desired depth mode. 
enum Config.FocusMode On supported devices, selects the desired camera focus mode. 
enum Config.GeospatialMode Describes the desired behavior of the ARCore Geospatial API. 
enum Config.ImageStabilizationMode Describes the behavior of the Electronic Image Stabilization (EIS) API. 
enum Config.InstantPlacementMode Select the behavior of Instant Placement. 
enum Config.LightEstimationMode Select the behavior of the lighting estimation subsystem. 
enum Config.PlaneFindingMode Select the behavior of the plane detection subsystem. 
enum Config.SemanticMode Describes the desired behavior of the Scene Semantics API. 
enum Config.StreetscapeGeometryMode Describes the behavior of the Geospatial Streetscape Geometry API. 
enum Config.TextureUpdateMode Describes how ARCore will update the camera texture. 
enum Config.UpdateMode Selects the behavior of Session.update()

Public Constructors

Config(Session session)
Constructs a sensible default configuration.

Public Methods

Config.AugmentedFaceMode
getAugmentedFaceMode()
Returns the currently configured Augmented Faces mode.
AugmentedImageDatabase
getAugmentedImageDatabase()
Returns the currently configured AugmentedImageDatabase.
Config.CloudAnchorMode
getCloudAnchorMode()
Returns the currently configured cloud anchor mode.
Config.DepthMode
getDepthMode()
Gets the currently configured Config.DepthMode.
Config.FocusMode
getFocusMode()
Returns the currently configured desired focus mode.
Config.GeospatialMode
getGeospatialMode()
Returns the Geospatial mode set on this Config.
Config.ImageStabilizationMode
getImageStabilizationMode()
Gets the camera image stabilization mode set.
Config.InstantPlacementMode
getInstantPlacementMode()
Returns the currently configured Config.InstantPlacementMode.
Config.LightEstimationMode
getLightEstimationMode()
Returns the currently configured lighting estimation mode.
Config.PlaneFindingMode
getPlaneFindingMode()
Returns the currently configured plane finding mode.
Config.SemanticMode
getSemanticMode()
Gets the currently configured Config.SemanticMode.
Config.StreetscapeGeometryMode
getStreetscapeGeometryMode()
Returns the Streetscape Geometry mode set on this Config.
Config.TextureUpdateMode
getTextureUpdateMode()
Gets the currently configured Config.TextureUpdateMode.
Config.UpdateMode
getUpdateMode()
Returns the currently configured behavior of Session.update().
Config
setAugmentedFaceMode(Config.AugmentedFaceMode augmentedFaceMode)
Sets the desired Augmented Faces mode.
Config
setAugmentedImageDatabase(AugmentedImageDatabase augmentedImageDatabase)
Sets the currently active AugmentedImageDatabase.
Config
setCloudAnchorMode(Config.CloudAnchorMode cloudAnchorMode)
Sets the cloud anchor mode of the Session.
Config
Config
setFocusMode(Config.FocusMode focusMode)
Sets the desired focus mode.
Config
setGeospatialMode(Config.GeospatialMode geospatialMode)
Sets the desired Geospatial mode.
Config
setImageStabilizationMode(Config.ImageStabilizationMode imageStabilizationMode)
Sets the camera image stabilization mode.
Config
setInstantPlacementMode(Config.InstantPlacementMode instantPlacementMode)
Sets the desired Instant Placement mode.
Config
setLightEstimationMode(Config.LightEstimationMode lightEstimationMode)
Sets the desired lighting estimation mode.
Config
setPlaneFindingMode(Config.PlaneFindingMode planeFindingMode)
Sets the desired plane finding mode.
Config
setSemanticMode(Config.SemanticMode semanticMode)
Sets the desired configuration for the Scene Semantics API.
Config
setStreetscapeGeometryMode(Config.StreetscapeGeometryMode streetscapeGeometryMode)
Sets the desired configuration for the Streetscape Geometry API.
Config
setTextureUpdateMode(Config.TextureUpdateMode textureUpdateMode)
Sets the desired Texture Update Mode.
Config
setUpdateMode(Config.UpdateMode updateMode)
Sets the behavior of Session.update().

Inherited Methods

Public Constructors

Public Methods