Epson BT-2000 Developers Guide - Page 88
setDepthCallback
![]() |
View all Epson BT-2000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 88 highlights
6.7.19. setDepthCallback Function Register the callback method executed during depth information acquisition. Format void setDepthCallback( Camera.DepthCallback cb ) Parameter Model name in/out Explanation Camera.DepthCallback in cb Callback object that processes depth information. Return value None. Usage procedure // App developer applies processing when acquiring depth information private Camera.DepthCallback mDepthCB = new Camera.DepthCallback() { @Override public void onDepthMap(byte data[], Camera camera) { Log.d(TAG, "Save depth map"); synchronized (lockObject) { saveDepthMap(data); } } }; //Register the callback method at the optimal time camera.setDepthCallback(mDepthCB); // When you remove the callback method, register null camera.setDepthCallback(null); MOVERIO Pro Developer's Guide (Rev.1.0) 84
![](/manual_guide/products/epson-bt2000-developers-guide-3a30282/88.png)