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