Class

ActionParameters.Key

Key for ActionParameters values.

Android
public class Key<T : Any>(public val name: String)

Key for ActionParameters values. Type T is the type of the associated value. T must be a primitive or Parcelable type. The Key.name must be unique, keys with the same name are considered equal.

Functions

to

public infix fun to(value: T): Pair<T>

Infix function to create a Parameters.Pair.

Parameters

value the value this key should point to