Demonstration of THETA WebAPI Tester.
RICOH THETA camera models V, SC2, SC2B, Z1 using RICOH API v2.1.
void _info() async {
_displayResponse(await Camera.info);
}
...
MaterialButton(
onPressed: _info,
child: Text('info'),
color: Colors.lightGreen,
),
The thumb button does not check for camera status before attempting to display the thumbnail. If you take a picture, you must manually wait 8 seconds for non-HDR or 10 seconds for hdr shots before the camera is ready to display the thumbnail.
When you write you actual app, refer to the command line webapi repository for examples on getting camera status after you take a picture.
There is more information on getting the status in this library file. You need to pass the id to /osc/commands/status
. You get
the id from the response of takePicture
.