# Class ConferenceParameter

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:

```javascript
const conferenceParameter = ConferenceDataService.newConferenceParameter()
                                .setKey('meetingId')
                                .setValue('123456');
```

### Methods

| Method | Return type | Brief description |
|---|---|---|
| `setKey(key)` | `ConferenceParameter` | Sets the key of this `ConferenceParameter`. |
| `setValue(value)` | `ConferenceParameter` | Sets the value of this `ConferenceParameter`. |

## 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`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/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`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) --- if the provided value is too long.