RemoteSettingsClientInterface

Client for a single Remote Settings collection

Use RemoteSettingsService::make_client to create these.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun collectionName(): String

Collection this client is for

Link copied to clipboard

Get attachment data for a remote settings record

Link copied to clipboard
abstract fun getRecords(syncIfEmpty: Boolean = false): List<RemoteSettingsRecord>?

Get the current set of records.

Link copied to clipboard
abstract fun getRecordsMap(syncIfEmpty: Boolean = false): Map<String, RemoteSettingsRecord>?

Get the current set of records as a map of record_id -> record.

Link copied to clipboard
abstract fun resetStorage()
Link copied to clipboard
abstract fun shutdown()

Shutdown the client, releasing the SQLite connection used to cache records.

Link copied to clipboard
abstract fun sync()