Config.ConfigMode


public interface Config.ConfigMode

Known direct subclasses
Config.AnchorPersistenceMode

Feature that allows anchors to be persisted through sessions.

Config.DepthEstimationMode

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

Config.DeviceTrackingMode

Feature that allows tracking of the AR device.

Config.FaceTrackingMode

Feature that allows tracking of human faces.

Config.GeospatialMode

Feature that allows Geospatial localization and tracking.

Config.HandTrackingMode

Feature that allows tracking of the user's hands and hand joints.

Config.HeadTrackingMode

Feature that allows tracking of the user's head pose.

Config.PlaneTrackingMode

Feature that allows tracking of and provides information about scene planes.


Describes a specific value used to set the configuration via Session.configure.

Summary

Public methods

default boolean

Queries whether the ConfigMode is supported and is available to be configured for the session via Session.configure.

Public methods

isSupported

Added in 1.0.0-alpha08
default boolean isSupported(@NonNull Session session)

Queries whether the ConfigMode is supported and is available to be configured for the session via Session.configure. Attempting to configure this ConfigMode if it is not supported will result in Session.configure returning UnsupportedOperationException.

Parameters
@NonNull Session session

the Session to check support for.

Returns
boolean

true if supported, else false.