camera.closeSession
ক্লায়েন্টকে ক্যামেরা থেকে সংযোগ বিচ্ছিন্ন করে। এপিআই লেভেল 2-এ এই কমান্ডটি বাতিল করা হয়েছে।
পরামিতি
- sessionId: টাইপ স্ট্রিং এর অনন্য সেশন শনাক্তকারী।
ফলাফল
- এই কমান্ড কোন ফলাফল প্রদান করে.
ত্রুটি
- missing Parameter:
sessionId
অনুপস্থিত। - invalidParameterName: ইনপুট প্যারামিটার নামটি অচেনা।
- invalidParameterValue: ইনপুট প্যারামিটার নাম স্বীকৃত, কিন্তু এর মান অবৈধ; উদাহরণস্বরূপ,
sessionId
বিদ্যমান নেই, আর সক্রিয় নেই, বা এর ডেটা টাইপটি ভুল।
কমান্ড I/O |
---|
কমান্ড ইনপুট | { "parameters": { "sessionId": "12ABC3" } } |
কমান্ড আউটপুট | none |
কমান্ড আউটপুট (ত্রুটি) | { "error": { "code": "invalidParameterValue", "message": "Parameter sessionId type is incorrect." } } |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-11-13 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-11-13 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["This command disconnects the client from the camera and was deprecated in API level 2."],["The command requires a session ID as input but returns no result upon successful execution."],["Potential errors include missing or invalid parameters, such as an incorrect session ID or data type."]]],["The command disconnects a client from a camera, identified by a unique `sessionId` string. This command is deprecated after API level 2. It requires the `sessionId` as input and produces no output upon success. Potential errors include a missing `sessionId`, an unrecognized parameter name, or an invalid `sessionId` value (nonexistent, inactive, or incorrect data type). The command does not return any results.\n"]]