public final class

RequestBuilders.TileRequest.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.tiles.RequestBuilders.TileRequest.Builder

Overview

Builder for RequestBuilders.TileRequest

Summary

Constructors
publicBuilder()

Creates an instance of RequestBuilders.TileRequest.Builder.

Methods
public RequestBuilders.TileRequestbuild()

Builds an instance from accumulated values.

public RequestBuilders.TileRequest.BuildersetCurrentState(StateBuilders.State currentState)

Sets the StateBuilders.State that should be used when building the tile.

public RequestBuilders.TileRequest.BuildersetDeviceConfiguration(DeviceParametersBuilders.DeviceParameters deviceConfiguration)

Sets the DeviceParametersBuilders.DeviceParameters object describing the device requesting the tile update.

public RequestBuilders.TileRequest.BuildersetDeviceParameters(DeviceParametersBuilders.DeviceParameters deviceParameters)

Sets the DeviceParametersBuilders.DeviceParameters describing the device requesting the tile update.

public RequestBuilders.TileRequest.BuildersetState(StateBuilders.State state)

Sets the StateBuilders.State that should be used when building the tile.

public RequestBuilders.TileRequest.BuildersetTileId(int tileId)

Sets the ID of the tile being requested.

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

Constructors

public Builder()

Creates an instance of RequestBuilders.TileRequest.Builder.

Methods

public RequestBuilders.TileRequest.Builder setDeviceConfiguration(DeviceParametersBuilders.DeviceParameters deviceConfiguration)

Sets the DeviceParametersBuilders.DeviceParameters object describing the device requesting the tile update. If not set, a default empty instance is used.

public RequestBuilders.TileRequest.Builder setCurrentState(StateBuilders.State currentState)

Sets the StateBuilders.State that should be used when building the tile.

public RequestBuilders.TileRequest.Builder setTileId(int tileId)

Sets the ID of the tile being requested.

Deprecated: Use RequestBuilders.TileRequest.Builder instead.

Sets the DeviceParametersBuilders.DeviceParameters describing the device requesting the tile update.

Deprecated: Use RequestBuilders.TileRequest.Builder instead.

Sets the StateBuilders.State that should be used when building the tile.

Builds an instance from accumulated values.