public final class AppDataKey<T extends DynamicBuilders.DynamicType> extends DynamicDataKey


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

Parameters
<T extends 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 methods

From androidx.wear.protolayout.expression.DynamicDataKey
boolean
@NonNull String

Gets the key that references the dynamic data source

@NonNull String

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

int
@NonNull String

Public constructors

AppDataKey

Added in 1.0.0
public AppDataKey(@NonNull String key)

Create a AppDataKey with the specified key.

Parameters
@NonNull String key

The key in the state to bind to.