MOVERIO Pro Developer's Guide (Rev.1.4)
79
6.8.4.
setPreviewFpsRange
Function
Set the minimum and maximum values for the frame rate.
You need to set the maximum and minimum values to same values that can be
acquired in getSupportedPreviewFpsRange().
Table 6-3 List of main parameter combinations shows the framerate that can be set
for each camera mode.
Format
Parameter
Model
name in/out Explanation
int min
in
Minimum value for preview FPS
(Set the value in multipliers
of 1000, so 7.5 fps would be 7500)
int max
in
Maximum value for preview FPS
(Set the value in
multipliers of 1000)
Return value
None.
Use procedure 1 (set the fps to 7.5)
void setPreviewFpsRange (
int min,
int max
);
/*Start camera*/
camera = Camera.open();
/*Acquire current parameter (or default value)*/
Camera.Parameters params = camera.getParameters();
/*Set camera mode to side by side*/
params.setPreviewFpsRange(7500, 7500);
/*Reflect camera setting in camera device*/
camera.setParameters(params);
/*Start preview*/
camera.startPreview();
Summary of Contents for Moverio Pro BT-2000
Page 7: ...MOVERIO Pro Developer s Guide Rev 1 4 1 1 Introduction ...
Page 12: ...MOVERIO Pro Developer s Guide Rev 1 4 6 2 Developing Apps ...
Page 30: ...MOVERIO Pro Developer s Guide Rev 1 4 24 3 Display control ...
Page 39: ...MOVERIO Pro Developer s Guide Rev 1 4 33 4 UI control ...
Page 47: ...MOVERIO Pro Developer s Guide Rev 1 4 41 5 Voice commands ...
Page 70: ...MOVERIO Pro Developer s Guide Rev 1 4 64 6 Camera control ...
Page 119: ...MOVERIO Pro Developer s Guide Rev 1 4 113 7 Sensor control ...
Page 127: ...MOVERIO Pro Developer s Guide Rev 1 4 121 8 Bluetooth BLE ...
Page 184: ...MOVERIO Pro Developer s Guide Rev 1 4 178 9 Power control ...
Page 187: ...MOVERIO Pro Developer s Guide Rev 1 4 181 10 Self diagnostic function ...
Page 191: ...MOVERIO Pro Developer s Guide Rev 1 4 185 11 GPS Assist ...
Page 202: ...MOVERIO Pro Developer s Guide Rev 1 4 196 Memo ...