public final class

ResourceBuilders.ImageResource.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.tiles.builders.ResourceBuilders.ImageResource.Builder

Overview

Builder for ResourceBuilders.ImageResource

Summary

Methods
public ResourceBuilders.ImageResourcebuild()

Builds an instance from accumulated values.

public ResourceBuilders.ImageResource.BuildersetAndroidResourceByResid(ResourceBuilders.AndroidImageResourceByResId.Builder androidResourceByResidBuilder)

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

public ResourceBuilders.ImageResource.BuildersetAndroidResourceByResid(ResourceBuilders.AndroidImageResourceByResId androidResourceByResid)

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

public ResourceBuilders.ImageResource.BuildersetInlineResource(ResourceBuilders.InlineImageResource.Builder inlineResourceBuilder)

Sets an image resource that contains the image data inline.

public ResourceBuilders.ImageResource.BuildersetInlineResource(ResourceBuilders.InlineImageResource inlineResource)

Sets 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.ImageResource.Builder setAndroidResourceByResid(ResourceBuilders.AndroidImageResourceByResId androidResourceByResid)

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

public ResourceBuilders.ImageResource.Builder setAndroidResourceByResid(ResourceBuilders.AndroidImageResourceByResId.Builder androidResourceByResidBuilder)

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

Sets an image resource that contains the image data inline.

Sets an image resource that contains the image data inline.

Builds an instance from accumulated values.