Skip to main content

CameraRotation

Camera rotation modes to accommodate different device orientations.

enum CameraRotation {
ROTATION_0 = 0,
ROTATION_90 = 1,
ROTATION_180 = 2,
ROTATION_270 = 3,
}

Values

ValueValueDescription
ROTATION_00No rotation applied to the camera feed (0 degrees)
ROTATION_90190-degree clockwise rotation of the camera feed
ROTATION_1802180-degree rotation of the camera feed
ROTATION_2703270-degree clockwise rotation of the camera feed