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
abstract fun getAttachment(attachmentId: String): ByteArray

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.