public final class

ResourceAccessors.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.tiles.renderer.ResourceAccessors.Builder

Overview

Builder for ResourceProviders

Summary

Methods
public ResourceAccessorsbuild()

Build a ResourceAccessors instance.

public ResourceAccessors.BuildersetAndroidImageResourceByResIdAccessor(ResourceAccessors.AndroidImageResourceByResIdAccessor accessor)

Set the resource loader for resources.

public ResourceAccessors.BuildersetInlineImageResourceAccessor(ResourceAccessors.InlineImageResourceAccessor accessor)

Set the resource loader for ResourceAccessors.InlineImageResourceAccessor resources.

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

Methods

public ResourceAccessors.Builder setAndroidImageResourceByResIdAccessor(ResourceAccessors.AndroidImageResourceByResIdAccessor accessor)

Set the resource loader for resources.

public ResourceAccessors.Builder setInlineImageResourceAccessor(ResourceAccessors.InlineImageResourceAccessor accessor)

Set the resource loader for ResourceAccessors.InlineImageResourceAccessor resources.

public ResourceAccessors build()

Build a ResourceAccessors instance.