camera.closeSession
クライアントとカメラとの接続を解除します。このコマンドは非推奨となりました。
API レベル 2 で使用できます。
パラメータ
- sessionId: 文字列型の一意のセッション ID。
結果
エラー
- missingParameter:
sessionId
がありません。
- invalidParameterName: 入力パラメータ名を認識できません。
- invalidParameterValue: 入力パラメータ名が認識されます。
値が無効です。たとえば、
sessionId
が存在しない場合、
アクティブでなくなったか、データ型が正しくありません。
コマンド I/O |
コマンド入力 |
{ "parameters": { "sessionId": "12ABC3" } } |
コマンド出力 |
none |
コマンド出力(エラー) |
{ "error": { "code": "invalidParameterValue", "message": "Parameter sessionId type is incorrect." } } |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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"]]