Schnittstelle MeetAddonClient
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Das Clientobjekt, das ein Add-on für die Kommunikation mit der Meet-Webversion verwendet.
Unterschrift
interface MeetAddonClient
Methodensignaturen
Name |
Beschreibung |
closeAddon() |
Schließen Sie das Add-on, das im Meet-iFrame ausgeführt wird. Entladen Sie dazu alle iFrames und schließen Sie die Seitenleiste, falls sie geöffnet ist. Dieser Aufruf während einer laufenden Aktivität hat keine Auswirkungen. |
endActivity() |
Beendet eine laufende Aktivität. Schlägt fehl, wenn: – Es gibt keine laufende Aktivität. - Der Nutzer ist nicht der Initiator der Aktivität. |
getActivityStartingState() |
Ruft Informationen zum Anfangszustand des Add-ons ab, wenn der Teilnehmer die Einladung zur Aktivität annimmt |
getFrameOpenReason() |
Ruft die Aktion ab, die zum Öffnen des Add-on-Frames führt. |
getMeetingInfo() |
Ruft Informationen zur Videokonferenz ab, in der das Add-on ausgeführt wird. |
on(eventId, eventHandler) |
Bietet Zugriff auf den AddonCallbacks , den das Add-on verwenden kann. |
setActivityStartingState(activityStartingState) |
Legt Informationen zum Anfangsstatus des Add-ons fest oder aktualisiert sie, wenn der Teilnehmer die Einladung zur Teilnahme an der Aktivität annimmt. |
startActivity(activityStartingState) |
Startet eine Aktivität mit dem angegebenen Startstatus von Frames, die der Initiator und die Teilnehmer während der Aktivität verwenden können. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[],[],null,["# Interface MeetAddonClient\n\nThe client object that an add-on uses to communicate with Meet web.\n\nSignature\n---------\n\n interface MeetAddonClient\n\nMethod signatures\n-----------------\n\n| Name | Description |\n|--------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [`closeAddon()`](./addon_sdk.meetaddonclient.closeaddon.md) | Close the add-on that's running in the Meet iframe by unloading all iframes and closing the side panel if it's open. Calling this while there's an ongoing activity has no effect. |\n| [`endActivity()`](./addon_sdk.meetaddonclient.endactivity.md) | Ends an ongoing activity. Will fail if: - There is not an ongoing activity. - The user is not the initiator of the activity. |\n| [`getActivityStartingState()`](./addon_sdk.meetaddonclient.getactivitystartingstate.md) | Retrieves information about the initial state of the add-on when the participant accepts the invitation to activity. |\n| [`getFrameOpenReason()`](./addon_sdk.meetaddonclient.getframeopenreason.md) | Retrieves the action causing the add-on frame to be opened. |\n| [`getMeetingInfo()`](./addon_sdk.meetaddonclient.getmeetinginfo.md) | Retrieves information about the meeting in which the add-on is running. |\n| [`on(eventId, eventHandler)`](./addon_sdk.meetaddonclient.on.md) | Provides access to the [`AddonCallbacks`](/workspace/meet/add-ons/reference/websdk/addon_sdk.addoncallbacks) that the add-on can utilize. |\n| [`setActivityStartingState(activityStartingState)`](./addon_sdk.meetaddonclient.setactivitystartingstate.md) | Sets or updates information about the initial state of the add-on that's used when the participant accepts the invitation to join the activity. |\n| [`startActivity(activityStartingState)`](./addon_sdk.meetaddonclient.startactivity.md) | Starts an activity with the provided starting state of frames that the initiator and participants can use during the activity. |"]]