পদ্ধতি স্বাক্ষর MeetMainStageClient.notifySidePanel
প্রধান পর্যায় অ্যাড-অন 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 সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-01-10 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-01-10 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"]]