VarioqubSettingsProtocol

public protocol VarioqubSettingsProtocol : AnyObject

Undocumented

  • The last date and time when the config was fetched.

    Declaration

    Swift

    var lastFetchDate: Date? { get set }
  • The property that defines if Varioqub should notify the reporter that the experiment changed.

    Declaration

    Swift

    var isShouldNotifyExperimentChanged: Bool { get set }
  • The E-Tag header used to detect updates on the server.

    Declaration

    Swift

    var lastEtag: String? { get set }
  • The serialized data for the reporter.

    Declaration

    Swift

    var reporterData: Data? { get set }
  • Stores the config fetched from the server into the key-value storage identified by the key.

    Declaration

    Swift

    func storeNetworkData(_ data: Data?, for key: String)
  • Gets the config by the key.

    Declaration

    Swift

    func loadNetworkData(for key: String) -> Data?