StreamOfflinePluginFactory

class StreamOfflinePluginFactory @JvmOverloads constructor(appContext: Context, ignoredChannelTypes: Set<String> = emptySet(), now: () -> Long = { System.currentTimeMillis() }) : PluginFactory, RepositoryFactory.Provider

Implementation of PluginFactory that provides OfflinePlugin.

Parameters

appContext
ignoredChannelTypes

Set of channel types that should be ignored by the offline plugin.

now

Function to get the current time in milliseconds. Useful for testing purposes.

Constructors

Link copied to clipboard
constructor(appContext: Context, ignoredChannelTypes: Set<String> = emptySet(), now: () -> Long = { System.currentTimeMillis() })

Functions

Link copied to clipboard
Link copied to clipboard
open override fun get(user: User): Plugin

Creates a Plugin

Link copied to clipboard
open override fun <T : Any> resolveDependency(klass: KClass<T>): T?