FileDocCategorySizeDatePackage
CameraDeviceInfo.javaAPI DocAndroid 5.1 API8864Thu Mar 12 22:22:48 GMT 2015com.android.ex.camera2.portability

CameraDeviceInfo

public interface CameraDeviceInfo
The device info for all attached cameras.

Fields Summary
static final int
NO_DEVICE
Constructors Summary
Methods Summary
public com.android.ex.camera2.portability.CameraDeviceInfo$CharacteristicsgetCharacteristics(int cameraId)

param
cameraId Which device to interrogate.
return
The static characteristics of the specified device, or {@code null} on error.

public intgetFirstBackCameraId()

return
The first (lowest) ID of the back cameras or {@code NO_DEVICE} if not available.

public intgetFirstFrontCameraId()

return
The first (lowest) ID of the front cameras or {@code NO_DEVICE} if not available.

public intgetNumberOfCameras()

return
The total number of the available camera devices.