BackendEnvironmentLocal

class BackendEnvironmentLocal(applicationSupportProvider: () -> ApplicationSupportLocal, deviceAssertionMaker: DeviceAssertionMaker) : BackendEnvironment

BackendEnvironment implementation for running provisioning back-end locally in-app.

Constructors

Link copied to clipboard
constructor(applicationSupportProvider: () -> ApplicationSupportLocal, deviceAssertionMaker: DeviceAssertionMaker)

Types

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Functions

Link copied to clipboard
suspend fun <ResourceT : Any> BackendEnvironment.cache(clazz: KClass<ResourceT>, key: Any = "", factory: suspend (Configuration, Resources) -> ResourceT): ResourceT

Lazily create and memoize an object that is defined by the given class and a key.

Link copied to clipboard
open override fun <R> fold(initial: R, operation: (R, CoroutineContext.Element) -> R): R
Link copied to clipboard
open operator override fun <E : CoroutineContext.Element> get(key: CoroutineContext.Key<E>): E?
Link copied to clipboard
open override fun <T : Any> getInterface(clazz: KClass<T>): T?
Link copied to clipboard
open override fun minusKey(key: CoroutineContext.Key<*>): CoroutineContext
Link copied to clipboard
open operator fun plus(context: CoroutineContext): CoroutineContext