public class

RequestReaders.ResourcesRequest

extends java.lang.Object

 java.lang.Object

↳androidx.wear.tiles.readers.RequestReaders.ResourcesRequest

Overview

Reader for a ResourcesRequestData instance.

Summary

Methods
public static RequestReaders.ResourcesRequestfromParcelable(ResourcesRequestData parcelable, int tileId)

public DeviceParametersReaders.DeviceParametersgetDeviceParameters()

Get parameters describing the device requesting these resources.

public java.util.List<java.lang.String>getResourceIds()

Get the resource IDs requested by this ResourcesRequestData.

public intgetTileId()

public java.lang.StringgetVersion()

Get the resource version requested by this ResourcesRequestData.

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

Methods

public static RequestReaders.ResourcesRequest fromParcelable(ResourcesRequestData parcelable, int tileId)

public int getTileId()

public java.lang.String getVersion()

Get the resource version requested by this ResourcesRequestData.

public java.util.List<java.lang.String> getResourceIds()

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

public DeviceParametersReaders.DeviceParameters getDeviceParameters()

Get parameters describing the device requesting these resources.