---
title: "actionParametersOf"
description: "Returns a new read-only Parameters, from the specified contents. The key element in the given
pairs will point to the corresponding value element. All values must be either of primitive or
Parcelable types.

If multiple pairs have the same key, the resulting map will contain only the value from the last
of those pairs."
type: "function"
---

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


<a id='references'></a>
<div class='sourceset sourceset-android'>Android</div>


```kotlin
public fun actionParametersOf(vararg pairs: ActionParameters.Pair<out Any>): ActionParameters
```


Returns a new read-only Parameters, from the specified contents. The key element in the given
pairs will point to the corresponding value element. All values must be either of primitive or
Parcelable types.

If multiple pairs have the same key, the resulting map will contain only the value from the last
of those pairs.



