camera.closeSession

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."
    }
}