camera.reset
সমস্ত বিকল্পকে তাদের ডিফল্ট মানগুলিতে সেট করে। ক্যামেরা চালু করার সময় সেটির অবস্থা সম্পর্কে কোনো অনুমান করা উচিত নয়, উদাহরণস্বরূপ, এটি ধরে নেওয়া উচিত নয় যে প্রতিবার ডিফল্ট বিকল্পগুলির সাথে একটি ক্যামেরা চালিত হয়৷ এই কমান্ডটি API স্তর 2 এ যোগ করা হয়েছে।
পরামিতি
- অনুরোধের বডিতে এই কমান্ডের কোনো প্যারামিটার নেই।
ফলাফল
- এই কমান্ডটি প্রতিক্রিয়া বডিতে কোন ফলাফল প্রদান করে না।
ত্রুটি
- invalidParameterName: ইনপুট প্যারামিটার নামটি অচেনা।
কমান্ড I/O |
---|
কমান্ড ইনপুট | none |
কমান্ড আউটপুট | none |
কমান্ড আউটপুট (ত্রুটি) | { "error": { "code": "invalidParameterName", "message": "parameter XYZ is unrecognized." } } |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-11-08 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-11-08 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Resets all camera options to their original default settings."],["Camera state on power-up is unpredictable and not guaranteed to have default options."],["Introduced in API level 2, this command neither accepts input parameters nor provides output results in its request/response body."],["An \"invalidParameterName\" error is returned if an unrecognized parameter is included in the request."]]],["This command resets all camera options to their default values, ensuring no prior state assumptions are made. Introduced in API level 2, it requires no parameters in the request and returns no result in the response. The only potential error is \"invalidParameterName,\" triggered if an unrecognized parameter is provided, even though there should be none. Command input and output is empty, with the error output providing details.\n"]]