מצלמה.closeSession
מנתקים את הלקוח מהמצלמה. הפקודה הזו הוצאה משימוש
ברמת API 2.
פרמטרים
- sessionId: מזהה סשן ייחודי של מחרוזת סוג.
תוצאות
- הפקודה הזו לא מחזירה תוצאה.
שגיאות
- missingParameter:
sessionId
חסר.
- INVALIDParameterName: השם של פרמטר הקלט לא מזוהה.
- invalidParameterValue: השם של פרמטר הקלט מזוהה,
אבל הערך שלו לא חוקי. לדוגמה,
sessionId
לא קיים,
כבר לא פעיל, או שסוג הנתונים שלו שגוי.
Command I/O |
קלט פקודה |
{ "parameters": { "sessionId": "12ABC3" } } |
פלט הפקודה |
none |
פלט הפקודה (שגיאה) |
{ "error": { "code": "invalidParameterValue", "message": "Parameter sessionId type is incorrect." } } |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-21 (שעון UTC).
[null,null,["עדכון אחרון: 2024-08-21 (שעון 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"]]