camera.closeSession
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
카메라에서 클라이언트 연결을 해제합니다. 이 명령어는 지원 중단됨
API 수준 2에서 지원됩니다
매개변수
- sessionId: 문자열 유형의 고유한 세션 식별자입니다.
결과
오류
- missingParameter:
sessionId
가 누락되었습니다.
- invalidParameterName: 입력 매개변수 이름을 인식할 수 없습니다.
- invalidParameterValue: 입력 매개변수 이름이 인식됩니다.
값이 유효하지 않습니다. 예를 들어
sessionId
가 존재하지 않는 경우
이(가) 더 이상 활성 상태가 아니거나 데이터 유형이 잘못되었습니다.
명령어 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 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-08-21(UTC)
[null,null,["최종 업데이트: 2024-08-21(UTC)"],[[["\u003cp\u003eThis command disconnects the client from the camera and was deprecated in API level 2.\u003c/p\u003e\n"],["\u003cp\u003eThe command requires a session ID as input but returns no result upon successful execution.\u003c/p\u003e\n"],["\u003cp\u003ePotential errors include missing or invalid parameters, such as an incorrect session ID or data type.\u003c/p\u003e\n"]]],["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"],null,["# camera.closeSession\n\nDisconnects the client from the camera. **This command was deprecated\nin API level 2.**\n\nParameters\n----------\n\n- **sessionId:** Unique session identifier of type string.\n\nResults\n-------\n\n- This command returns no result.\n\nErrors\n------\n\n- **missingParameter:** `sessionId` is missing.\n- **invalidParameterName:** The input parameter name is unrecognized.\n- **invalidParameterValue:** The input parameter name is recognized, but its value is invalid; for example, the `sessionId` doesn't exist, is no longer active, or its data type is incorrect.\n\n| Command I/O ----------- ||\n|----------------------------|---------------------------------------------------------------------------------------------------------------------|\n| **Command Input** | ```text { \"parameters\": { \"sessionId\": \"12ABC3\" } } ``` |\n| **Command Output** | ```text none ``` |\n| **Command Output (Error)** | ```carbon { \"error\": { \"code\": \"invalidParameterValue\", \"message\": \"Parameter sessionId type is incorrect.\" } } ``` |"]]