The orientation of the camera image. The value is the angle that the camera image needs to be rotated clockwise so it shows correctly on the display in its natural orientation. It should be 0, 90, 180, or 270.

For example, suppose a device has a naturally tall screen. The back-facing camera sensor is mounted in landscape. You are looking at the screen. If the top side of the camera sensor is aligned with the right edge of the screen in natural orientation, the value should be 90. If the top side of a front-facing camera sensor is aligned with the right of the screen, the value should be 270.

The camera's fixed characteristics, which include all camera metadata in the android.*.info.* sections. This should be a sorted metadata buffer, and may not be modified or freed by the caller. The pointer should remain valid for the lifetime of the camera module, and values in it may not change after it is returned by get_camera_info().

Version information (based on camera_module_t.common.module_api_version):

CAMERA_MODULE_API_VERSION_1_0:

Not valid. Extra characteristics are not available. Do not read this field.

CAMERA_MODULE_API_VERSION_2_0 or higher:

Valid if device_version >= CAMERA_DEVICE_API_VERSION_2_0. Do not read otherwise.