API reference - Ricoh Theta

camera._setPlugin command request

Definitions
Type object

Example:

{
    "name": "camera._setPlugin",
    "parameters": {
        "packageName": "com.theta360.timeshiftshooting"
    }
}
Property Type Required Description
name const yes Command to execute
parameters object no -

1. The following properties are required

name

Definitions
Type const

Description: Command to execute

Specific value: "camera._setPlugin"

parameters

Definitions
Type object
Property Type Required Description
packageName string yes Package name of the target plugin for boot
force boolean no If true, Starts the specified plugin when the power is turned on from power off or sleep. This setting can only be enabled for one plugin and defaults to false.
After enabling this option, the specified plugin will always start. Make sure that the plugin that specifies this option can start and stop correctly before setting it.
bootOptions string no An option to pass to the plugin when the plugin starts.

packageName

Definitions
Type string

Description: Package name of the target plugin for boot

force

Definitions
Type boolean
Default false

Description: If true, Starts the specified plugin when the power is turned on from power off or sleep. This setting can only be enabled for one plugin and defaults to false.
After enabling this option, the specified plugin will always start. Make sure that the plugin that specifies this option can start and stop correctly before setting it.

bootOptions

Definitions
Type string

Description: An option to pass to the plugin when the plugin starts.

Restrictions
Max length 1536