ממשק LeaveRequest
הודעה לשרת על כך שהלקוח עומד להתנתק. אחרי קבלת התשובה, הלקוח לא אמור לקבל הודעות או נתוני RTP אחרים.
חתימה
declare interface LeaveRequest extends MediaApiRequest
מורשת
חתימות על נכסים
שם |
תיאור |
leave |
השארת השדה ריק תמיד. |
requestId |
מזהה ייחודי שנוצר על ידי הלקוח עבור הבקשה הזו. אסור שלבקשות שונות יהיה אותו מזהה בקשה בהיקף של ערוץ נתונים אחד. (עוברת בירושה מ-MediaApiRequest ) |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-02-05 (שעון UTC).
[null,null,["עדכון אחרון: 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`."]]],[]]