[null,null,["最后更新时间 (UTC):2024-08-21。"],[[["\u003cp\u003eSets camera properties like GPS, date/time, ISO, and shutter speed.\u003c/p\u003e\n"],["\u003cp\u003eThis command was modified in API level 2, removing the need for a session identifier.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eoptions\u003c/code\u003e parameter accepts JSON key-value pairs to configure camera settings.\u003c/p\u003e\n"],["\u003cp\u003ePossible errors include missing parameters, invalid parameter names or values.\u003c/p\u003e\n"]]],["This command sets properties like GPS, date/time, ISO, white balance, and shutter speed. In API level 1, it required a unique `sessionId` from `camera.startSession`; this is deprecated in API level 2. The input includes `options` as JSON key-value pairs to define the properties. API level 1 needed a sessionId, API level 2 removed it. No results are returned, but errors cover missing, invalid parameter names or values. The command input shows how to define parameters for both API levels.\n"],null,["# camera.setOptions\n\nSets values for specified properties; for example, GPS on/off, date \\& time,\nISO, white balance, shutter speed, sleep/power-off delay, and so on. **This command was modified in API level 2.**\n| **Note:** You must call the camera.startSession to obtain a unique session identifier command before calling this command. **This was deprecated in API level 2.**\n\nParameters\n----------\n\n- **sessionId:** Unique session identifier of type string, obtained using the [camera.startSession](/streetview/open-spherical-camera/reference/camera/startsession) command. **This field was deprecated in API level 2.**\n- **options:** JSON `\u003ckey, value\u003e` pairs of the properties to set. The value can be any of the following types: `String`, `String Array`, `Number`, `Number Array`, `Boolean`, `Object`, `Object Array`. See [Options.](/streetview/open-spherical-camera/reference/options)\n\nResults\n-------\n\n- This command returns no result.\n\nErrors\n------\n\n- **missingParameter:** One or more required parameters is missing; for example, `options` is not specified.\n- **invalidParameterName:** One or more input parameter option or option name is unrecognized or unsupported, e.g. this code should be returned if an option (e.g. `captureInterval`) from API level 2 is used when `clientVersion` in [Options](/streetview/open-spherical-camera/reference/options) is 1.\n- **invalidParameterValue:** One or more input parameter or option name is recognized, but its value is invalid; for example, a data type is incorrect.\n\n| Command I/O ----------- ||\n|------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|\n| **Command Input (API level 1)** | ```text { \"parameters\": { \"sessionId\": \"12ABC3\", \"options\": { \"isoBalance\": 200 } } } ``` |\n| **Command Output (API level 1)** | ```text none ``` |\n| **Command Output (Error) (API level 1)** | ```text { \"error\": { \"code\": \"invalidParameterName\", \"message\": \"Parameter options contains unsupported option isoBalance.\" } } ``` |\n| **Command Input (API level 2)** | ```text { \"parameters\": { \"options\": { \"iso\": 200, \"captureInterval\": 20 } } } ``` |\n| **Command Output (API level 2)** | ```text none ``` |\n| **Command Output (Error) (API level 2)** | ```text { \"error\": { \"code\": \"invalidParameterName\", \"message\": \"Parameter options contains unsupported option captureInterval.\" } } ``` |"]]