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(pointer: <Error class: unknown class>)
constructor(noPointer: NoPointer)

This constructor can be used to instantiate a fake object. Only used for tests. Any attempt to actually use an object constructed this way will fail as there is no connected Rust object.

constructor(storageDir: String, config: RemoteSettingsConfig2)

Types

Link copied to clipboard
object Companion

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
fun uniffiClonePointer(): <Error class: unknown class>
Link copied to clipboard
open override fun updateConfig(config: RemoteSettingsConfig2)

Update the remote settings config