diff options
author | Dave Sparks <davidsparks@android.com> | 2009-05-07 12:25:25 -0700 |
---|---|---|
committer | Dave Sparks <davidsparks@android.com> | 2009-05-07 12:25:25 -0700 |
commit | 9b35233ea511eab24aa15de5dc2e94b6f8ed081d (patch) | |
tree | 31e1e46ec081d441165e2f478560901b76192b55 /include/ui/Camera.h | |
parent | 2594c71c1c537fd204b5d1730437f151d31cc343 (diff) | |
download | frameworks_native-9b35233ea511eab24aa15de5dc2e94b6f8ed081d.zip frameworks_native-9b35233ea511eab24aa15de5dc2e94b6f8ed081d.tar.gz frameworks_native-9b35233ea511eab24aa15de5dc2e94b6f8ed081d.tar.bz2 |
Add new binder methods to camera client to support generic callbacks
This is the first step in a multi-step change to move from the old
specific callbacks to a generic callback. This will allow future
flexibility in the interface without requiring binder rewrites.
Bug 1837832
Diffstat (limited to 'include/ui/Camera.h')
-rw-r--r-- | include/ui/Camera.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ui/Camera.h b/include/ui/Camera.h index fd851d9..901c7a9 100644 --- a/include/ui/Camera.h +++ b/include/ui/Camera.h @@ -143,6 +143,8 @@ public: virtual void errorCallback(status_t error); virtual void autoFocusCallback(bool focused); virtual void recordingCallback(const sp<IMemory>& frame); + virtual void notifyCallback(int32_t msgType, int32_t ext, int32_t ext2); + virtual void dataCallback(int32_t msgType, const sp<IMemory>& frame); sp<ICamera> remote(); |