public final class OpenCameraInterface extends Object
Camera. The API changes over Android API versions and
this allows the app to use newer API methods while retaining backwards-compatible behavior.| 限定符和类型 | 字段和说明 |
|---|---|
static int |
NO_REQUESTED_CAMERA
For
open(int), means no preference for which camera to open. |
public static android.hardware.Camera open(int cameraId)
Camera.open(int), if one exists.cameraId - camera ID of the camera to use. A negative value
or NO_REQUESTED_CAMERA means "no preference"Camera that was opened