Lingua

LensFacing Enum

Definition

Enumerates values returned by the Back, and Front members.

public enum LensFacing
type LensFacing = 
Inheritance
LensFacing

Fields

Name Value Description
Front 0

The camera device faces the same direction as the device's screen.

Android reference for android.hardware.camera2.CameraMetadata.LENS_FACING_FRONT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Back 1

The camera device faces the opposite direction as the device's screen.

Android reference for android.hardware.camera2.CameraMetadata.LENS_FACING_BACK.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

External 2

The camera device is an external camera, and has no fixed facing relative to the device's screen.

Android reference for android.hardware.camera2.CameraMetadata.LENS_FACING_EXTERNAL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to