메서드 서명 MeetSidePanelClient.notifyMainStage
측면 패널 부가기능 iframe에서 기본 스테이지 부가기능으로 메시지를 전송합니다.
있습니다. 기본 스테이지 iframe에서 실행되는 부가기능이 이 메시지에 반응할 수 있습니다.
사용
frameToFrameMessage
드림
부가기능 콜백 (자세한 내용은
AddonCallbacks
)
이 문자열의 길이는 1,000,000자(영문 기준) 미만이어야 합니다.
서명
notifyMainStage(payload: string): Promise<void>;
세부정보
매개변수
이름 |
유형 |
선택사항 |
설명 |
payload |
string |
아니요 |
|
반환 값
Promise<void>
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-09-09(UTC)
[null,null,["최종 업데이트: 2024-09-09(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"]]