aparat.zamk.sesja
Odłącza klienta od kamery. To polecenie zostało wycofane
w interfejsie API poziomu 2.
Parametry
- sessionId: unikalny identyfikator sesji danego typu.
Wyniki
- To polecenie nie zwraca żadnych wyników.
Błędy
- brak parametru: brakuje parametru
sessionId
.
- invalidParametrName:nie udało się rozpoznać nazwy parametru wejściowego.
- invalidParameterValue::nazwa parametru wejściowego została rozpoznana,
, ale jego wartość jest nieprawidłowa; na przykład
sessionId
nie istnieje,
nie jest już aktywny lub jego typ danych jest nieprawidłowy.
Polecenie I/O |
Dane wejściowe polecenia |
{ "parameters": { "sessionId": "12ABC3" } } |
Dane wyjściowe polecenia |
none |
Dane wyjściowe polecenia (błąd) |
{ "error": { "code": "invalidParameterValue", "message": "Parameter sessionId type is incorrect." } } |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-21 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]