FileDocCategorySizeDatePackage
ICameraService.javaAPI DocAndroid 5.1 API19414Sat Mar 14 05:48:00 GMT 2015android.hardware

ICameraService

public interface ICameraService implements android.os.IInterface
hide

Fields Summary
Constructors Summary
Methods Summary
public intaddListener(android.hardware.ICameraServiceListener listener)

public intconnect(android.hardware.ICameraClient client, int cameraId, java.lang.String clientPackageName, int clientUid, android.hardware.camera2.utils.BinderHolder device)

public intconnectDevice(android.hardware.camera2.ICameraDeviceCallbacks callbacks, int cameraId, java.lang.String clientPackageName, int clientUid, android.hardware.camera2.utils.BinderHolder device)

public intconnectLegacy(android.hardware.ICameraClient client, int cameraId, int halVersion, java.lang.String clientPackageName, int clientUid, android.hardware.camera2.utils.BinderHolder device)

public intconnectPro(android.hardware.IProCameraCallbacks callbacks, int cameraId, java.lang.String clientPackageName, int clientUid, android.hardware.camera2.utils.BinderHolder device)

public intgetCameraCharacteristics(int cameraId, android.hardware.camera2.impl.CameraMetadataNative info)

public intgetCameraInfo(int cameraId, android.hardware.CameraInfo info)

public intgetCameraVendorTagDescriptor(android.hardware.camera2.utils.BinderHolder desc)
The java stubs for this method are not intended to be used. Please use the native stub in frameworks/av/include/camera/ICameraService.h instead. The BinderHolder output is being used as a placeholder, and will not be well-formatted in the generated java method.

public intgetLegacyParameters(int cameraId, java.lang.String[] parameters)

public intgetNumberOfCameras()
Keep up-to-date with frameworks/av/include/camera/ICameraService.h

public intremoveListener(android.hardware.ICameraServiceListener listener)

public intsupportsCameraApi(int cameraId, int apiVersion)