public class CameraInfoHelper
extends java.lang.Object
| Constructor and Description |
|---|
CameraInfoHelper() |
| Modifier and Type | Method and Description |
|---|---|
static android.hardware.Camera.CameraInfo |
getCameraInfo(int cameraID) |
static boolean |
isFrontCameraOn(int cameraID)
Method that returns whether the front or back camera is in use
|
static void |
printParameters(android.hardware.Camera.Parameters parameters)
Print all params of the camera.
|
public static boolean isFrontCameraOn(int cameraID)
cameraID - - the used camera idpublic static android.hardware.Camera.CameraInfo getCameraInfo(int cameraID)
cameraID - public static void printParameters(android.hardware.Camera.Parameters parameters)