मेथड सिग्नेचर MeetMainStageClient.notifySidePanel
यह मुख्य स्टेज के ऐड-ऑन iframe से साइड पैनल के ऐड-ऑन
iframe पर मैसेज भेजता है. साइड पैनल के iframe में चल रहा ऐड-ऑन, frameToFrameMessage
ऐड-ऑन कॉलबैक का इस्तेमाल करके, इस मैसेज पर प्रतिक्रिया दे सकता है. इस स्ट्रिंग की लंबाई 1,000,000 वर्णों से कम होनी चाहिए.
हस्ताक्षर
notifySidePanel(payload: string): Promise<void>;
विवरण
पैरामीटर
नाम |
टाइप |
वैकल्पिक |
ब्यौरा |
payload |
string |
नहीं |
|
रिटर्न
Promise<void>
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-11-06 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-11-06 (UTC) को अपडेट किया गया."],[[["Enables communication from the main Google Meet stage to the side panel add-on."],["Utilizes the `frameToFrameMessage` callback in the side panel add-on to handle incoming messages."],["Requires a payload string with a maximum length of 1,000,000 characters."],["`notifySidePanel` function sends the message to the side panel, returning a `Promise\u003cvoid\u003e`."]]],["The `notifySidePanel` function sends a string message (`payload`) from the main stage add-on iframe to the side panel add-on iframe. The side panel add-on can then process this message via the `frameToFrameMessage` callback. The `payload` string is mandatory and must be under 1,000,000 characters. This function returns a promise that resolves when the message is sent.\n"]]