ImageLoaderIntegration

interface ImageLoaderIntegration : SupabasePlugin<ImageLoaderIntegration.Config> , Fetcher.Factory, Keyer(source)

A plugin that implements Fetcher.Factory and Keyer for ImageLoader to support using StorageItem as data when creating a ImageRequest. Use ComponentRegistryBuilder.add to add this component to your ImageLoader instance:

add(keyer = supabaseClient.imageLoader)
add(fetcherFactory = supabaseClient.imageLoader)

Types

Link copied to clipboard
Link copied to clipboard
class Config

The configuration for the ImageLoader integration.

Properties

Link copied to clipboard
Link copied to clipboard
abstract val supabaseClient: SupabaseClient

Functions

Link copied to clipboard
open suspend fun close()
Link copied to clipboard
abstract fun create(data: Any, options: Options): Fetcher?
Link copied to clipboard
open fun init()
Link copied to clipboard
abstract fun key(data: Any, options: Options, type: Keyer.Type): String?