Interfejs LeaveRequest
Informuje serwer, że klient zamierza się rozłączyć. Po otrzymaniu odpowiedzi klient nie powinien otrzymywać żadnych innych wiadomości ani multimediów RTP.
Podpis
declare interface LeaveRequest extends MediaApiRequest
Dziedzictwo
Podpisy w usłudze
Nazwa |
Opis |
leave |
Pole zawsze pozostaw puste. |
requestId |
Unikalny identyfikator wygenerowany przez klienta dla tego żądania. Różne żądania nie mogą mieć tego samego identyfikatora żądania w ramach jednego kanału danych. (Zdefiniowany przez MediaApiRequest ) |
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: 2025-02-05 UTC.
[null,null,["Ostatnia aktualizacja: 2025-02-05 UTC."],[[["This documentation details the `LeaveRequest` interface, which is used to signal a client's imminent disconnection."],["`LeaveRequest` extends the `MediaApiRequest` interface."],["The `LeaveRequest` interface includes a `leave` field, which is always empty, and a `requestId` field for a unique identifier."],["The client should cease expecting further messages or media RTP after receiving a response to the `LeaveRequest`."]]],[]]