Class ConferenceParameter
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
פרמטר של כנס
פרמטר ספציפי לפתרון שזמין לשימוש בתוסף. הפרמטר הזה נשמר עם נתוני הפגישה, ואם צריך לעדכן או למחוק אותו, הוא מועבר לתוסף. דוגמה לשימוש:
const conferenceParameter = ConferenceDataService.newConferenceParameter()
.setKey('meetingId')
.setValue('123456');
מסמכים מפורטים
setKey(key)
הגדרת המפתח של ConferenceParameter
הזה. האורך המקסימלי של השדה הזה הוא 50 תווים. חובה.
פרמטרים
שם | סוג | תיאור |
key | String | המפתח שרוצים להגדיר. |
חזרה
ConferenceParameter
– האובייקט הזה, לצורך שרשור
זריקות
Error
– אם המפתח שסופק ארוך מדי.
setValue(value)
הגדרת הערך של ConferenceParameter
הזה. האורך המקסימלי של השדה הזה הוא 1,024 תווים. חובה.
פרמטרים
שם | סוג | תיאור |
value | String | הערך להגדרה. |
חזרה
ConferenceParameter
– האובייקט הזה, לצורך שרשור
זריקות
Error
– אם הערך שצוין ארוך מדי.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003e\u003ccode\u003eConferenceParameter\u003c/code\u003e objects store solution-specific parameters for add-ons, persisting with conference data and utilized for updates or deletions.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use the \u003ccode\u003esetKey(key)\u003c/code\u003e method to assign a key (up to 50 characters) and \u003ccode\u003esetValue(value)\u003c/code\u003e to assign a value (up to 1024 characters) to these parameters.\u003c/p\u003e\n"],["\u003cp\u003eBoth \u003ccode\u003esetKey\u003c/code\u003e and \u003ccode\u003esetValue\u003c/code\u003e methods return the \u003ccode\u003eConferenceParameter\u003c/code\u003e object, allowing for chained method calls for efficient setup.\u003c/p\u003e\n"],["\u003cp\u003eExceeding the maximum length for keys or values when using \u003ccode\u003esetKey(key)\u003c/code\u003e or \u003ccode\u003esetValue(value)\u003c/code\u003e will result in an error.\u003c/p\u003e\n"]]],[],null,["# Class ConferenceParameter\n\nConferenceParameter\n\nSolution-specific parameter available fo the add-on's use. This parameter is persisted with the\nconference data and, if an update or delete is needed, is passed to the add-on. Example usage:\n\n```javascript\nconst conferenceParameter = ConferenceDataService.newConferenceParameter()\n .setKey('meetingId')\n .setValue('123456');\n``` \n\n### Methods\n\n| Method | Return type | Brief description |\n|--------------------------------------|--------------------------|--------------------------------------------------|\n| [setKey(key)](#setKey(String)) | [ConferenceParameter](#) | Sets the key of this [ConferenceParameter](#). |\n| [setValue(value)](#setValue(String)) | [ConferenceParameter](#) | Sets the value of this [ConferenceParameter](#). |\n\nDetailed documentation\n----------------------\n\n### `set``Key(key)`\n\nSets the key of this [ConferenceParameter](#). The maximum length for this field is 50\ncharacters. Required.\n\n#### Parameters\n\n| Name | Type | Description |\n|-------|----------|-----------------|\n| `key` | `String` | The key to set. |\n\n#### Return\n\n\n[ConferenceParameter](#) --- this object, for chaining\n\n#### Throws\n\n\n[`Error`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) --- if the provided key is too long.\n\n*** ** * ** ***\n\n### `set``Value(value)`\n\nSets the value of this [ConferenceParameter](#). The maximum length for this field is 1024\ncharacters. Required.\n\n#### Parameters\n\n| Name | Type | Description |\n|---------|----------|-------------------|\n| `value` | `String` | The value to set. |\n\n#### Return\n\n\n[ConferenceParameter](#) --- this object, for chaining\n\n#### Throws\n\n\n[`Error`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) --- if the provided value is too long."]]