Signature de la propriété AddonScreenshareInfo.mainStageUrl
URL que l'espace principal ouvre après le démarrage du module complémentaire. Doit appartenir au même domaine que les URL spécifiées dans le fichier manifeste du module complémentaire.
Signature
mainStageUrl?: string;
Détails
Type |
string |
Facultatif |
Oui |
Lecture seule |
Non |
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/11/06 (UTC).
[null,null,["Dernière mise à jour le 2024/11/06 (UTC)."],[[["`mainStageUrl` defines the URL where the add-on's main interface will be displayed upon startup."],["This URL must share the same domain as those listed in the add-on's manifest file for security and functionality."],["It's an optional property, meaning an add-on can function without explicitly specifying a main stage URL."],["The `mainStageUrl` value is not read-only and can be modified by the add-on if necessary."]]],["The `mainStageUrl` is a string representing the URL opened when an add-on starts. This URL must be within the same domain as those listed in the add-on's manifest. It is an optional parameter. The property type is `string`, and it is not a read-only property.\n"]]