RemoteSettingsClient

Client for a single Remote Settings collection

Use RemoteSettingsService::make_client to create these.

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.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun collectionName(): String

Collection this client is for

Link copied to clipboard
open override fun destroy()
Link copied to clipboard
open override fun getAttachment(attachmentId: String): ByteArray

Get attachment data for a remote settings record

Link copied to clipboard
open override fun getRecords(syncIfEmpty: Boolean): List<RemoteSettingsRecord>?

Get the current set of records.

Link copied to clipboard
open override fun getRecordsMap(syncIfEmpty: Boolean): Map<String, RemoteSettingsRecord>?

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

Link copied to clipboard
fun uniffiClonePointer(): <Error class: unknown class>