সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
নির্দিষ্ট বৈশিষ্ট্যের জন্য মান সেট করে; উদাহরণস্বরূপ, GPS চালু/বন্ধ, তারিখ ও সময়, ISO, সাদা ব্যালেন্স, শাটার গতি, ঘুম/পাওয়ার-অফ বিলম্ব ইত্যাদি। এই কমান্ডটি এপিআই লেভেল 2 এ পরিবর্তন করা হয়েছে।
পরামিতি
sessionId: টাইপ স্ট্রিং এর অনন্য সেশন শনাক্তকারী, camera.startSession কমান্ড ব্যবহার করে প্রাপ্ত। এপিআই লেভেল 2-এ এই ক্ষেত্রটি বাতিল করা হয়েছে।
অপশন: JSON <key, value> বৈশিষ্ট্যগুলির জোড়া সেট করতে। মান নিম্নলিখিত ধরনের হতে পারে: String , String Array , Number , Number Array , Boolean , Object , Object Array । বিকল্প দেখুন।
ফলাফল
এই কমান্ড কোন ফলাফল প্রদান করে.
ত্রুটি
missingParameter: এক বা একাধিক প্রয়োজনীয় প্যারামিটার অনুপস্থিত; উদাহরণস্বরূপ, options নির্দিষ্ট করা নেই।
invalidParameterName: এক বা একাধিক ইনপুট প্যারামিটার বিকল্প বা বিকল্পের নাম অস্বীকৃত বা অসমর্থিত, যেমন এই কোডটি ফেরত দেওয়া উচিত যদি API স্তর 2 থেকে একটি বিকল্প (যেমন captureInterval ) ব্যবহার করা হয় যখন OptionsclientVersion 1 হয়।
invalidParameterValue: এক বা একাধিক ইনপুট প্যারামিটার বা বিকল্পের নাম স্বীকৃত, কিন্তু এর মান অবৈধ; উদাহরণস্বরূপ, একটি ডেটা টাইপ ভুল।
[null,null,["2024-11-08 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\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.\" } } ``` |"]]