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(remoteSettingsConfig: RemoteSettingsConfig)

Construct a new Remote Settings client with the given configuration.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun destroy()
Link copied to clipboard
open override fun downloadAttachmentToPath(attachmentId: String, path: String)

Download an attachment with the provided id to the provided path.

Link copied to clipboard
open override fun getRecords(): RemoteSettingsResponse

Fetch all records for the configuration this client was initialized with.

Link copied to clipboard
open override fun getRecordsSince(timestamp: ULong): RemoteSettingsResponse

Fetch all records added to the server since the provided timestamp, using the configuration this client was initialized with.

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