Språk

MirrorMode Enum

Definition

public enum MirrorMode
type MirrorMode = 
Inheritance
MirrorMode

Fields

Name Value Description
Auto 0

Automatic mirroring based on camera facing

This is the default mirroring mode for the camera device. With this mode, the camera output is mirrored horizontally for front-facing cameras. There is no mirroring for rear-facing and external cameras.

Android reference for android.hardware.camera2.params.OutputConfiguration.MIRROR_MODE_AUTO.

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.

None 1

No mirror transform is applied

No mirroring is applied to the camera output regardless of the camera facing.

Android reference for android.hardware.camera2.params.OutputConfiguration.MIRROR_MODE_NONE.

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.

H 2

Camera output is mirrored horizontally

The camera output is mirrored horizontally, the same behavior as in AUTO mode for front facing camera.

Android reference for android.hardware.camera2.params.OutputConfiguration.MIRROR_MODE_H.

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.

V 3

Camera output is mirrored vertically

Android reference for android.hardware.camera2.params.OutputConfiguration.MIRROR_MODE_V.

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