public final class

StateBuilders.State.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.StateBuilders.State.Builder

Overview

Builder for StateBuilders.State

Summary

Constructors
publicBuilder()

Creates an instance of StateBuilders.State.Builder.

Methods
public StateBuilders.State.BuilderaddKeyToValueMapping(AppDataKey<DynamicBuilders.DynamicType> sourceKey, DynamicDataBuilders.DynamicDataValue<DynamicBuilders.DynamicType> value)

Adds an entry into any shared state between the provider and renderer.

public StateBuilders.Statebuild()

Builds an instance from accumulated values.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder()

Creates an instance of StateBuilders.State.Builder.

Methods

public StateBuilders.State.Builder addKeyToValueMapping(AppDataKey<DynamicBuilders.DynamicType> sourceKey, DynamicDataBuilders.DynamicDataValue<DynamicBuilders.DynamicType> value)

Adds an entry into any shared state between the provider and renderer.

public StateBuilders.State build()

Builds an instance from accumulated values.