stored library

Classes

DataFetcherResult<T>
DataStoreResponse<T>
ErrorFetcherResult<T>
ErrorMessageStoreResponse<T>
ErrorStoreResponse<T>
ExceptionStoreResponse<T>
Fetcher<Key, Output>
Fetcher is used by Store to fetch network records for a given key. The return type is Flow to allow for multiple result per request.
FetcherResult<T>
LoadingStoreResponse<T>
MemoryPolicy<Key, Value>
MemoryPolicy holds all required info to create MemoryCache
MemoryPolicyBuilder<Key, Value>
NoNewDataStoreResponse<T>
Store<K, V>
StoreBuilder<Key, Output>
Main entry point for creating a Store.
StoreRequest<Key>
data class to represent a single store request key a unique identifier for your data skippedCaches List of cache types that should be skipped when retuning the response see CacheType refresh If set to true Store will always get fresh value from fetcher while also starting the stream from the local com.dropbox.android.external.store4.impl.SourceOfTruth and memory cache
StoreResponse<T>
Holder for responses from Store.
Weigher<K, V>

Enums

CacheType
ResponseOrigin
Represents the origin for a StoreResponse.

Typedefs

ResultStreamFactory<Key, Output> = Stream<FetcherResult<Output>> Function(Key k)
StreamFactory<Key, Output> = Stream<Output> Function(Key k)

Exceptions / Errors

NullPointerException