Google is committed to advancing racial equity for Black communities. See how.

CameraConfig.FacingDirection

public static final enum CameraConfig.FacingDirection

Describes the direction a camera looks relative to the device. Used by CameraConfig.getFacingDirection().

Inherited Methods

Enum Values

public static final CameraConfig.FacingDirection BACK

Camera looks out the back of the device (away from the user).

public static final CameraConfig.FacingDirection FRONT

Camera looks out the front of the device (toward the user). To create a session using the front-facing camera, include Session.Feature.FRONT_CAMERA in the feature list passed to Session.Session(android.content.Context, Set).