RequestReaders.ResourcesRequest

public static class RequestReaders.ResourcesRequest
extends Object

java.lang.Object
   ↳ androidx.wear.tiles.readers.RequestReaders.ResourcesRequest


Reader for resource request parameters.

Summary

Public methods

DeviceParametersReaders.DeviceParameters getDeviceParameters()

Get parameters describing the device requesting these resources.

List<String> getResourceIds()

Get the requested resource IDs.

int getTileId()
String getVersion()

Get the requested resource version.

Inherited methods

Public methods

getDeviceParameters

public DeviceParametersReaders.DeviceParameters getDeviceParameters ()

Get parameters describing the device requesting these resources.

Returns
DeviceParametersReaders.DeviceParameters

getResourceIds

public List<String> getResourceIds ()

Get the requested resource IDs. May be empty, in which case all resources should be returned.

Returns
List<String>

getTileId

public int getTileId ()

Returns
int

getVersion

public String getVersion ()

Get the requested resource version.

Returns
String