getCameraDisplayOrientationDegrees

  • Gets clockwise orientation of camera sensor respect to display orientation.

Return

Clockwise orientation of camera sensor expressed in degrees.

Parameters

context

Android context.

cameraId

A camera id.

Throws

If application does not have permission to access the camera.

If camera service is not available.


Gets clockwise orientation of camera sensor respect to display orientation.

Return

Clockwise orientation of camera sensor expressed in degrees.

Parameters

context

Android context.

characteristics

Information about the camera.