6.8.18. stopDepthStreaming
Function
Stop depth information acquisition.
Format
void stopDepthStreaming()
Parameter
None.
Return value
None.
Usage procedure
/*Start camera*/
camera = Camera.open();
/*Acquire current parameter (or default value)*/
Camera.Parameters params = camera.getParameters();
/*Set the camera mode to depth-only*/
params.setEpsonCameraMode(Camera.Parameters.EPSON_CAMERA_MODE_DEP
TH_ONLY);
/*Reflect camera setting in camera device*/
camera.setParameters(params);
/*Start preview*/
camera.startPreview();
/*Start depth information acquisition*/
camera.startDepthStreaming();
・・・・・・
/*End Depth information acquisition*/
camera.stopDepthStreaming();
/*Stop preview*/
camera.stopPreview();
Important points
If depth information acquisition has not stopped when stopPreview is executed,
stopDepthStreaming is executed as part of the stopPreview process.
MOVERIO Pro Developer's Guide (Rev.1.4)
99