RemoteSettingsConfig2
public struct RemoteSettingsConfig2
extension RemoteSettingsConfig2: Equatable, Hashable
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?
-
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)
-
Declaration
Swift
public static func == (lhs: RemoteSettingsConfig2, rhs: RemoteSettingsConfig2) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)