<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
public class MutableActionParameters
internal constructor(internal val map: MutableMap<Key<out Any>, Any> = mutableMapOf()) :
    ActionParameters()
```


Mutable version of `ActionParameters`. Allows for editing the underlying data, and adding or
removing key-value pairs.


## Functions



<h2 id="set-key-value">set</h2>

```kotlin
public operator fun <T : Any> set(key: Key<T>, value: T?): T?
```


Sets a key value pair in MutableParameters. If the value is null, the key is removed from the
parameters.

#### Parameters

| | |
| --- | --- |
| key | the parameter to set |
| value | the value to assign to this parameter |


#### Returns

| | |
| --- | --- |
|  | the previous value associated with the key, or null if the key was not present |





<hr class="docs-overload-divider">


<h2 id="remove-key">remove</h2>

```kotlin
public fun <T : Any> remove(key: Key<T>): T?
```


Removes an item from this MutableParameters.

#### Parameters

| | |
| --- | --- |
| key | the parameter to remove |


#### Returns

| | |
| --- | --- |
|  | the original value of the parameter |





<hr class="docs-overload-divider">


<h2 id="clear">clear</h2>

```kotlin
public fun clear(): Unit
```


Removes all parameters from this MutableParameters.