public final class

ResourceBuilders.ImageResource

extends java.lang.Object

 java.lang.Object

↳androidx.wear.tiles.ResourceBuilders.ImageResource

Overview

An image resource, which can be used by layouts. This holds multiple underlying resource types, which the underlying runtime will pick according to what it thinks is appropriate.

Summary

Methods
public ResourceBuilders.AndroidImageResourceByResIdgetAndroidResourceByResId()

Gets an image resource that maps to an Android drawable by resource ID.

public ResourceBuilders.InlineImageResourcegetInlineResource()

Gets an image resource that contains the image data inline.

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

Methods

public ResourceBuilders.AndroidImageResourceByResId getAndroidResourceByResId()

Gets an image resource that maps to an Android drawable by resource ID. Intended for testing purposes only.

public ResourceBuilders.InlineImageResource getInlineResource()

Gets an image resource that contains the image data inline. Intended for testing purposes only.