public final class

ResourceBuilders.ImageResource.Builder

extends java.lang.Object

 java.lang.Object

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

Overview

Builder for ResourceBuilders.ImageResource

Summary

Constructors
publicBuilder()

Methods
public ResourceBuilders.ImageResourcebuild()

Builds an instance from accumulated values.

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 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

Constructors

public Builder()

Methods

public ResourceBuilders.ImageResource.Builder setAndroidResourceByResId(ResourceBuilders.AndroidImageResourceByResId androidResourceByResId)

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

Sets an image resource that contains the image data inline.

Builds an instance from accumulated values.