as

open fun <ResourceType> as(resourceClass: Class<ResourceType>): RequestBuilder<ResourceType>

Attempts to load the resource using any registered s that can decode the given resource class or any subclass of the given resource class.

Return

A new request builder for loading the given resource class.

Parameters

resourceClass

The resource to decode.