AppDataKey
public final class AppDataKey<T extends DynamicBuilders.DynamicType> extends DynamicDataKey
| java.lang.Object | ||
| ↳ | androidx.wear.protolayout.expression.DynamicDataKey | |
| ↳ | androidx.wear.protolayout.expression.AppDataKey |
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 |
|---|
<T extends DynamicBuilders.DynamicType> AppDataKey(@NonNull String key) |
Inherited methods |
|---|
Public constructors
AppDataKey
public <T extends DynamicBuilders.DynamicType> AppDataKey(@NonNull String key)
| Parameters | |
|---|---|
<T extends DynamicBuilders.DynamicType> |
The data type of the dynamic values that this key is bound to. |
@NonNull String key |
The key in the state to bind to. |