string getCameraInfo(int id)
This function can be used to return an object with the camera's information. The object will contain the following:
int facing
int orientation
Note: The above camera function is a wrapper function for Camera.CameraInfo(). This function will return an object of Camera.CameraInfo. For more information, see the Camera.CameraInfo reference on developer.android.com.
Parameters
| Name | Description |
| id | The camera ID. |
Return
A JSON formatted string representing a Camera.CameraInfo object (see note above).