Remote Settings Config
data class RemoteSettingsConfig(var collectionName: String, var bucketName: String? = null, var serverUrl: String? = null, var server: RemoteSettingsServer? = null)
Custom configuration for the client. Currently includes the following:
server
: The Remote Settings server to use. If not specified, defaults to the production server (RemoteSettingsServer::Prod
).server_url
: An optional custom Remote Settings server URL. Deprecated; please useserver
instead.bucket_name
: The optional name of the bucket containing the collection on the server. If not specified, the standard bucket will be used.collection_name
: The name of the collection for the settings server.
Constructors
Link copied to clipboard
constructor(collectionName: String, bucketName: String? = null, serverUrl: String? = null, server: RemoteSettingsServer? = null)