Package-level declarations

Types

Link copied to clipboard
data class Attachment(var filename: String, var mimetype: String, var location: String, var hash: String, var size: ULong)

Attachment metadata that can be optionally attached to a Record. The location should included in calls to Client::get_attachment.

Link copied to clipboard
interface Disposable
Link copied to clipboard
Link copied to clipboard

Client for a single Remote Settings collection

Link copied to clipboard

Client for a single Remote Settings collection

Link copied to clipboard
data class RemoteSettingsConfig(var server: RemoteSettingsServer? = null, var bucketName: String? = null, var appContext: RemoteSettingsContext? = null)

Remote settings configuration

Link copied to clipboard
data class RemoteSettingsContext(var channel: String? = null, var appVersion: String? = null, var appId: String? = null, var locale: String? = null, var os: String? = null, var osVersion: String? = null, var formFactor: String? = null, var country: String? = null, var customTargettingAttributes: Map<String, String>? = null)

Remote settings context object

Link copied to clipboard

Public error class, this is what we return to consumers

Link copied to clipboard
data class RemoteSettingsRecord(var id: String, var lastModified: ULong, var deleted: Boolean, var attachment: Attachment?, var fields: <Error class: unknown class>)

A parsed Remote Settings record. Records can contain arbitrary fields, so clients are required to further extract expected values from the fields member.

Link copied to clipboard

The Remote Settings server that the client should use.

Link copied to clipboard

Application-level Remote Settings manager.

Link copied to clipboard

Application-level Remote Settings manager.

Link copied to clipboard

Trait implemented by consumers to record Remote Settings metrics with Glean.

Link copied to clipboard

Trait implemented by consumers to record Remote Settings metrics with Glean.

Link copied to clipboard
typealias RsJsonObject = <Error class: unknown class>

Typealias from the type name used in the UDL file to the custom type. This is needed because the UDL type name is used in function/method signatures. It's also what we have an external type that references a custom type.

Link copied to clipboard

Remote Settings sync status.

Link copied to clipboard
data class UptakeEventExtras(var value: String?, var source: String?, var age: String?, var trigger: String?, var timestamp: String?, var duration: String?, var errorName: String?)