public final class

PlatformDataValues.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.expression.PlatformDataValues.Builder

Overview

Builder for PlatformDataValues.

Summary

Constructors
publicBuilder()

Methods
public PlatformDataValuesbuild()

Builds the PlatformDataValues.

public PlatformDataValues.Builderput(PlatformDataKey<DynamicBuilders.DynamicType> key, DynamicDataBuilders.DynamicDataValue<DynamicBuilders.DynamicType> value)

Puts a key/value pair.

public PlatformDataValues.BuilderputAll(PlatformDataValues other)

Puts all values from another PlatformDataValues.

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

Constructors

public Builder()

Methods

public PlatformDataValues.Builder put(PlatformDataKey<DynamicBuilders.DynamicType> key, DynamicDataBuilders.DynamicDataValue<DynamicBuilders.DynamicType> value)

Puts a key/value pair.

Puts all values from another PlatformDataValues.

Values not in other are not removed from this PlatformDataValues.Builder.

public PlatformDataValues build()

Builds the PlatformDataValues.