diff options
author | Chih-Chung Chang <chihchung@google.com> | 2010-06-10 13:32:16 +0800 |
---|---|---|
committer | Chih-Chung Chang <chihchung@google.com> | 2010-06-11 16:47:33 +0800 |
commit | ddbdb35d176266b5ab64c30178f5cb76c5b1b4b4 (patch) | |
tree | 9a3115e77421f95a8505067cfa60b5a73518ad68 /include/camera/ICameraService.h | |
parent | 0a5baa9b411fe086013d2a5e9126ed63fbad046c (diff) | |
download | frameworks_av-ddbdb35d176266b5ab64c30178f5cb76c5b1b4b4.zip frameworks_av-ddbdb35d176266b5ab64c30178f5cb76c5b1b4b4.tar.gz frameworks_av-ddbdb35d176266b5ab64c30178f5cb76c5b1b4b4.tar.bz2 |
Change camera interface to support multiple cameras.
Change-Id: Ie88fe706d2278acf762eca87780de349434778a4
Diffstat (limited to 'include/camera/ICameraService.h')
-rw-r--r-- | include/camera/ICameraService.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/camera/ICameraService.h b/include/camera/ICameraService.h index dcd434f..7d70c1e 100644 --- a/include/camera/ICameraService.h +++ b/include/camera/ICameraService.h @@ -31,6 +31,7 @@ class ICameraService : public IInterface public: enum { GET_NUMBER_OF_CAMERAS = IBinder::FIRST_CALL_TRANSACTION, + GET_CAMERA_INFO, CONNECT }; @@ -38,6 +39,8 @@ public: DECLARE_META_INTERFACE(CameraService); virtual int32_t getNumberOfCameras() = 0; + virtual status_t getCameraInfo(int cameraId, + struct CameraInfo* cameraInfo) = 0; virtual sp<ICamera> connect(const sp<ICameraClient>& cameraClient, int cameraId) = 0; }; |