RICOH released version 1.3 of their official open source SDK earlier in July. Oppkey, the team behind theta360.guide, uses theta-client in our own development and find it a joy to work with. The SDK is a Kotlin Multiplatform library with open source examples for Android, iOS, React Native, and Flutter.
18 lines of code reduced to 7 lines (not incuding comments and blank lines)
For each open source example in the SDK, there are tutorials provided: https://github.com/ricohapi/theta-client/tree/main/docs
In version 1.3, we now have access to the API documentation for theta-client.
- Add getThetaModel() function to Flutter and React Native.
- Enable Flutter release build.
- Implement time-shift shooting for THETA SC2 for business.
- Add properties to ThetaRepository.ThetaFiles, that is a response of ThetaRepository.listFiles()
- Add properties to ThetaRepository.FilterEnum
- Add properties to ThetaRepository.ProjectionTypeEnum
- Add following properties to ThetaRepository.Options class for controlling THETA.
You can refer to the documentation directly or use a code editor such as VS Code to see the available camera options.
In VS Code, code completion nicely finds bitrate.
The output looks like this:
This great code savings. You can see the original code using a normal http request and JSON body. Perhaps more important than the time savings is the reduction in potential human errors.
Nice and slim!
You can see the available tags at Tags · ricohapi/theta-client · GitHub
git clone https://github.com/ricohapi/theta-client.git cd theta-client git checkout 1.3.0 git switch -c 1.3.0
Alternately, get version 1.3 from the release page.