পদ্ধতি স্বাক্ষর MeetSidePanelClient.notifyMainStage
পার্শ্ব প্যানেল অ্যাড-অন iframe থেকে প্রধান পর্যায়ে অ্যাড-অন iframe-এ একটি বার্তা পাঠায়। আইফ্রেম প্রধান পর্যায়ে চলমান অ্যাড-অন frameToFrameMessage
অ্যাড-অন কলব্যাক ব্যবহার করে এই বার্তাটির প্রতিক্রিয়া জানাতে পারে ( AddonCallbacks
দেখুন)। এই স্ট্রিংটির দৈর্ঘ্য অবশ্যই 1,000,000 অক্ষরের কম হতে হবে।
স্বাক্ষর
notifyMainStage(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 a side panel add-on to a main stage add-on within Google Meet."],["Utilizes the `notifyMainStage` function with a payload string to send messages."],["Main stage add-ons can receive and react to these messages using the `frameToFrameMessage` callback."],["The payload string is limited to under 1,000,000 characters."]]],["The `notifyMainStage` function sends a string message (`payload`) from a side panel add-on iframe to the main stage add-on iframe. The main stage add-on can receive this message via the `frameToFrameMessage` callback. The message string must be under 1,000,000 characters. The `payload` parameter is required and the function returns a Promise that resolves when the message is sent.\n"]]