public final class

ResourceResolvers.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.renderer.inflater.ResourceResolvers.Builder

Overview

Builder for ResourceResolvers

Summary

Methods
public ResourceResolversbuild()

Build a ResourceResolvers instance.

public ResourceResolvers.BuildersetAndroidAnimatedImageResourceByResIdResolver(ResourceResolvers.AndroidAnimatedImageResourceByResIdResolver resolver)

Set the resource loader for ResourceResolvers.AndroidAnimatedImageResourceByResIdResolver resources.

public ResourceResolvers.BuildersetAndroidImageResourceByContentUriResolver(ResourceResolvers.AndroidImageResourceByContentUriResolver resolver)

public ResourceResolvers.BuildersetAndroidImageResourceByResIdResolver(ResourceResolvers.AndroidImageResourceByResIdResolver resolver)

Set the resource loader for ResourceResolvers.AndroidImageResourceByResIdResolver resources.

public ResourceResolvers.BuildersetAndroidSeekableAnimatedImageResourceByResIdResolver(ResourceResolvers.AndroidSeekableAnimatedImageResourceByResIdResolver resolver)

Set the resource loader for ResourceResolvers.AndroidSeekableAnimatedImageResourceByResIdResolver resources.

public ResourceResolvers.BuildersetInlineImageResourceResolver(ResourceResolvers.InlineImageResourceResolver resolver)

Set the resource loader for ResourceResolvers.InlineImageResourceResolver resources.

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

Methods

public ResourceResolvers.Builder setAndroidImageResourceByResIdResolver(ResourceResolvers.AndroidImageResourceByResIdResolver resolver)

Set the resource loader for ResourceResolvers.AndroidImageResourceByResIdResolver resources.

public ResourceResolvers.Builder setAndroidAnimatedImageResourceByResIdResolver(ResourceResolvers.AndroidAnimatedImageResourceByResIdResolver resolver)

Set the resource loader for ResourceResolvers.AndroidAnimatedImageResourceByResIdResolver resources.

public ResourceResolvers.Builder setAndroidSeekableAnimatedImageResourceByResIdResolver(ResourceResolvers.AndroidSeekableAnimatedImageResourceByResIdResolver resolver)

Set the resource loader for ResourceResolvers.AndroidSeekableAnimatedImageResourceByResIdResolver resources.

public ResourceResolvers.Builder setInlineImageResourceResolver(ResourceResolvers.InlineImageResourceResolver resolver)

Set the resource loader for ResourceResolvers.InlineImageResourceResolver resources.

public ResourceResolvers.Builder setAndroidImageResourceByContentUriResolver(ResourceResolvers.AndroidImageResourceByContentUriResolver resolver)

public ResourceResolvers build()

Build a ResourceResolvers instance.