Class ConferenceParameter
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Conference參數
可供外掛程式使用的解決方案專屬參數。這個參數會與會議資料一起保留,如果需要更新或刪除,就會傳遞至外掛程式。使用範例:
const conferenceParameter = ConferenceDataService.newConferenceParameter()
.setKey('meetingId')
.setValue('123456');
內容詳盡的說明文件
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\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."]]