public final class

RequestProto.StateRequest.Builder

extends <any>

implements RequestProto.StateRequestOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.tiles.proto.RequestProto.StateRequest.Builder

Overview

 Parameters passed to a Tile Service when the renderer is requesting a
 new state bundle.
 
Protobuf type androidx.wear.tiles.proto.StateRequest

Summary

Methods
public RequestProto.StateRequest.BuilderclearState()

 The current state of the Tile.

public RequestProto.StateRequest.BuilderclearTileId()

 The ID of the tile for which state is being requested.

public StateProto.StategetState()

 The current state of the Tile.

public intgetTileId()

 The ID of the tile for which state is being requested.

public booleanhasState()

 The current state of the Tile.

public RequestProto.StateRequest.BuildermergeState(StateProto.State value)

 The current state of the Tile.

public RequestProto.StateRequest.BuildersetState(StateProto.State.Builder builderForValue)

 The current state of the Tile.

public RequestProto.StateRequest.BuildersetState(StateProto.State value)

 The current state of the Tile.

public RequestProto.StateRequest.BuildersetTileId(int value)

 The ID of the tile for which state is being requested.

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

Methods

public boolean hasState()

 The current state of the Tile.
 
.androidx.wear.protolayout.proto.State state = 1;

public StateProto.State getState()

 The current state of the Tile.
 
.androidx.wear.protolayout.proto.State state = 1;

 The current state of the Tile.
 
.androidx.wear.protolayout.proto.State state = 1;

 The current state of the Tile.
 
.androidx.wear.protolayout.proto.State state = 1;

 The current state of the Tile.
 
.androidx.wear.protolayout.proto.State state = 1;

 The current state of the Tile.
 
.androidx.wear.protolayout.proto.State state = 1;

public int getTileId()

 The ID of the tile for which state is being requested.
 
uint32 tile_id = 2;

Returns:

The tileId.

public RequestProto.StateRequest.Builder setTileId(int value)

 The ID of the tile for which state is being requested.
 
uint32 tile_id = 2;

Parameters:

value: The tileId to set.

Returns:

This builder for chaining.

 The ID of the tile for which state is being requested.
 
uint32 tile_id = 2;

Returns:

This builder for chaining.