Yöntem imzası MeetMainStageClient.unloadSidePanel
Yan panel iframe'ini kapatır. Yöntem çağrıldığında yan panel eklentisi durumunun Meet'te korunmadığını unutmayın. Yan panel iframe'i tekrar açılırsa (örneğin, loadSidePanel
çağrısı kullanılarak) yan panel iframe kaynak URL'si, eklenti manifestindeki orijinal değerine ayarlanır.
Bu yöntem çağrılmadan önce eklenti durumunu eklenti arka ucunda sürdürmek eklentiye bağlıdır.
İmza
unloadSidePanel(): Promise<void>;
Ayrıntılar
İadeler
Promise<void>
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-11-06 UTC.
[null,null,["Son güncelleme tarihi: 2024-11-06 UTC."],[[["Calling `unloadSidePanel` closes the side panel in Google Meet, but any add-on-specific data within the side panel is not saved."],["Reopening the side panel using `loadSidePanel` will revert the side panel's content back to its original state defined in the add-on manifest."],["Add-ons should save any necessary data to their backend before `unloadSidePanel` is called to ensure data persistence."],["`unloadSidePanel` returns a `Promise` that resolves when the side panel has been successfully closed."]]],["The `unloadSidePanel` method closes the side panel iframe in Meet. Calling this method does not retain the side panel's state. Reopening the side panel resets its URL to the original value from the add-on manifest. Add-ons must persist their state in their backend before invoking `unloadSidePanel`. The method returns a promise that resolves when the operation is complete. This function is not optional.\n"]]