android-components / mozilla.components.browser.icons.loader / DataUriIconLoader

DataUriIconLoader

class DataUriIconLoader : IconLoader (source)

An IconLoader implementation that will base64 decode the image bytes from a data:image uri.

Constructors

Name Summary
<init> DataUriIconLoader()
An IconLoader implementation that will base64 decode the image bytes from a data:image uri.

Functions

Name Summary
load fun load(context: <ERROR CLASS>, request: IconRequest, resource: Resource): Result
Tries to load the IconRequest.Resource for the given IconRequest.