getCameraDisplayOrientation

Gets orientation of camera sensor. Camera sensor orientation is computed in terms of device orientation.

Return

Orientation of camera sensor.

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 orientation of camera sensor. Camera sensor orientation is computed in terms of device orientation.

Return

Orientation of camera sensor.

Parameters

context

Android context.

characteristics

Information about the camera.