RemoteSettings
open class RemoteSettings:
RemoteSettingsProtocol
-
Declaration
Swift
required public init(unsafeFromRawPointer pointer: UnsafeMutableRawPointer)
-
Construct a new Remote Settings client with the given configuration.
Declaration
Swift
public convenience init(remoteSettingsConfig: RemoteSettingsConfig) throws
-
Download an attachment with the provided id to the provided path.
Declaration
Swift
open func downloadAttachmentToPath(attachmentId: String, path: String) throws
-
Fetch all records for the configuration this client was initialized with.
Declaration
Swift
open func getRecords() throws -> RemoteSettingsResponse
-
Fetch all records added to the server since the provided timestamp, using the configuration this client was initialized with.
Declaration
Swift
open func getRecordsSince(timestamp: UInt64) throws -> RemoteSettingsResponse