Epson BT-2000 Developers Guide - Page 61
Use procedure 1 when side by side is set, Use procedure 2 when preview has already started,
View all Epson BT-2000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 61 highlights
Use procedure 1 (when side by side is set) /*Start camera*/ camera = Camera.open(); /*Acquire current parameter (or default value)*/ Camera.Parameters params = camera.getParameters(); /*Set camera mode to side by side*/ params.setEpsonCameraMode(EPSON_CAMERA_MODE_SIDE_BY_SIDE); /*Reflect camera setting in camera device*/ camera.setParameters(params); /*Start preview*/ camera.startPreview(); Use procedure 2 (when preview has already started) /*Stop preview*/ camera.stopPreview(); /*Acquire current parameter (or default value)*/ Camera.Parameters params = camera.getParameters(); /*From here on, use procedure 1*/ Important points After setting the camera mode in setEpsonCameraMode, be sure to perform setParameters. Changed content is not reflected in the camera device until setParameters is executed. When the preview has already started, use stopPreview to temporarily stop the preview, and then set the camera mode. Each camera mode has a limited combination of preview resolutions and frame rates. Note that a run-time exception will occur in setParameters for combinations that exceed the limit. The parameters for associated frame rates and preview resolutions will not change even if you set the camera mode in setEpsonCameraMode. Application developers should set these parameters using appropriate combinations before executing setParameters. Table 6-8 lists the available combination of parameters from the API. MOVERIO Pro Developer's Guide (Rev.1.0) 57