RemoteSettingsService

Application-level Remote Settings manager.

This handles application-level operations, like syncing all the collections, and acts as a factory for creating clients.

Constructors

Link copied to clipboard
constructor(storageDir: String, config: RemoteSettingsConfig2)

Functions

Link copied to clipboard
open override fun clientUrl(): String
Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun destroy()
Link copied to clipboard
open override fun makeClient(collectionName: String): RemoteSettingsClient

Create a new Remote Settings client

Link copied to clipboard
open override fun sync(): List<String>

Sync collections for all active clients

Link copied to clipboard
open override fun updateConfig(config: RemoteSettingsConfig2)

Update the remote settings config