Class ConferenceParameter
Stay organized with collections
Save and categorize content based on your preferences.
ConferenceParameter
Solution-specific parameter available fo the add-on's use. This parameter is persisted with the
conference data and, if an update or delete is needed, is passed to the add-on. Example usage:
const conferenceParameter = ConferenceDataService.newConferenceParameter()
.setKey('meetingId')
.setValue('123456');
Detailed documentation
setKey(key)
Sets the key of this ConferenceParameter
. The maximum length for this field is 50
characters. Required.
Parameters
Name | Type | Description |
key | String | The key to set. |
Return
ConferenceParameter
— this object, for chaining
Throws
Error
— if the provided key is too long.
setValue(value)
Sets the value of this ConferenceParameter
. The maximum length for this field is 1024
characters. Required.
Parameters
Name | Type | Description |
value | String | The value to set. |
Return
ConferenceParameter
— this object, for chaining
Throws
Error
— if the provided value is too long.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.
[null,null,["Last updated 2024-12-02 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."]]