CustomServerConfigRepository

internal interface CustomServerConfigRepository

Repository for the fetching and storing wire server configurations If you are looking for doing operations related to API version or blacklisted then use ServerConfigRepository

Inheritors

Functions

Link copied to clipboard
abstract suspend fun fetchRemoteConfig(serverConfigUrl: String): <Error class: unknown class><<Error class: unknown class>, ServerConfig.Links>

download an on premise server configuration from a json file

Link copied to clipboard
abstract suspend fun getServerConfigsWithUserIdAfterTheDate(date: String): <Error class: unknown class><<Error class: unknown class>, <Error class: unknown class><List<ServerConfigWithUserId>>>
Link copied to clipboard
abstract suspend fun storeConfig(links: ServerConfig.Links, metadata: ServerConfig.MetaData): <Error class: unknown class><<Error class: unknown class>, ServerConfig>
abstract suspend fun storeConfig(links: ServerConfig.Links, versionInfo: ServerConfig.VersionInfo): <Error class: unknown class><<Error class: unknown class>, ServerConfig>
Link copied to clipboard
abstract suspend fun updateAppBlackListCheckDate(configIds: Set<String>, date: String)

updates lastBlackListCheckDate for the Set of configIds