RemoteSettingsConfig2
public struct RemoteSettingsConfig2 : Equatable, Hashable
extension RemoteSettingsConfig2: Sendable
Remote settings configuration
This is the version used in the new API, hence the 2 at the end. The plan is to move
consumers to the new API, remove the RemoteSettingsConfig struct, then remove the 2 from this
name.
-
The Remote Settings server to use. Defaults to [RemoteSettingsServer::Prod],
Declaration
Swift
public var server: RemoteSettingsServer? -
Bucket name to use, defaults to “main”. Use “main-preview” for a preview bucket
Declaration
Swift
public var bucketName: String? -
App context to use for JEXL filtering (when the
jexlfeature is present).Declaration
Swift
public var appContext: RemoteSettingsContext? -
Declaration
Swift
public init( /** * The Remote Settings server to use. Defaults to [RemoteSettingsServer::Prod], */server: RemoteSettingsServer? = nil, /** * Bucket name to use, defaults to "main". Use "main-preview" for a preview bucket */bucketName: String? = nil, /** * App context to use for JEXL filtering (when the `jexl` feature is present). */appContext: RemoteSettingsContext? = nil)