Session.Feature

public static final enum Session.Feature

Fundamental session features that can be requested using Session(Context, Set).

All currently defined features are mutually compatible.

Inherited Methods

Enum Values

public static final Session.Feature FRONT_CAMERA

Use the front-facing (selfie) camera. When the front camera is selected, ARCore's behavior changes in the following ways:

public static final Session.Feature SHARED_CAMERA

Enable sharing the camera between ARCore and the app. See the class-level documentation for SharedCamera for an example of how to use this method.

Note:

While ARCore is paused you can use the Camera2 APIs directly without restriction.

While ARCore is active, the app may continue to use Camera2 APIs, except it must not call CameraCaptureSession#setRepeatingRequest as this will interfere with ARCore operation.