camera.closeSession
Stay organized with collections
Save and categorize content based on your preferences.
Disconnects the client from the camera. This command was deprecated
in API level 2.
Parameters
- sessionId: Unique session identifier of type string.
Results
- This command returns no result.
Errors
- missingParameter:
sessionId
is missing.
- invalidParameterName: The input parameter name is unrecognized.
- 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.
Command I/O |
Command Input |
{
"parameters": {
"sessionId": "12ABC3"
}
} |
Command Output |
none |
Command Output (Error) |
{
"error": {
"code": "invalidParameterValue",
"message": "Parameter sessionId type is incorrect."
}
} |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 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."]]],[]]