RemoteSettingsServiceInterface

Application-level Remote Settings manager.

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

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun clientUrl(): String
Link copied to clipboard
abstract fun makeClient(collectionName: String): RemoteSettingsClient

Create a new Remote Settings client

Link copied to clipboard
abstract fun setTelemetry(telemetry: RemoteSettingsTelemetry)

Set the telemetry implementation used to record Glean metrics. This should be set to a real implementation (eg. Kotlin, Swift). If not set, all metric recording is a no-op.

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

Sync collections for all active clients

Link copied to clipboard
abstract fun updateConfig(config: RemoteSettingsConfig)

Update the remote settings config