class AppDataKey<T : DynamicBuilders.DynamicType?> : DynamicDataKey


Represent a DynamicDataKey that references app/tile pushed state data.

Parameters
<T : DynamicBuilders.DynamicType?>

The data type of the dynamic values that this key is bound to.

Summary

Public constructors

Create a AppDataKey with the specified key.

Inherited functions

From androidx.wear.protolayout.expression.DynamicDataKey
Boolean
equals(other: Any?)
String

Gets the key that references the dynamic data source

String

Gets the namespace of the key for the dynamic data source.

Int
String

Public constructors

AppDataKey

Added in 1.0.0
AppDataKey(key: String)

Create a AppDataKey with the specified key.

Parameters
key: String

The key in the state to bind to.