ConfigSerializable

public protocol ConfigSerializable

Represents a value that can be serialized or delicensed to set or retrieve a value in RemoteConfig.

  • A value type.

    Declaration

    Swift

    associatedtype Value = Self
  • returns ConfigBridge for value of type of Value.

    Declaration

    Swift

    static var _config: ConfigBridge<Value> { get }
  • returns ConfigBridge for array that has values of type of T.

    Declaration

    Swift

    static var _configArray: ConfigBridge<[Value]> { get }

Available where Self: RawRepresentable

  • _config Default implementation

    Default Implementation

    Returns a instance of ConfigBridge<RawRepresentable>.

    Declaration

    Swift

    public static var _config: ConfigBridge<Self> { get }
  • _configArray Default implementation

    Default Implementation

    Returns a instance of ConfigBridge<[RawRepresentable]>.

    Declaration

    Swift

    public static var _configArray: ConfigBridge<[Self]> { get }

Available where Self: Decodable

  • _config Default implementation

    Default Implementation

    Returns a instance of ConfigBridge<Decodable>.

    Declaration

    Swift

    public static var _config: ConfigBridge<Self> { get }
  • _configArray Default implementation

    Default Implementation

    Returns a instance of ConfigBridge<[Decodable]>.

    Declaration

    Swift

    public static var _configArray: ConfigBridge<[Self]> { get }

Available where Self: Codable

  • _config Default implementation

    Default Implementation

    Returns a instance of ConfigBridge<Codable>.

    Declaration

    Swift

    public static var _config: ConfigBridge<Self> { get }
  • _configArray Default implementation

    Default Implementation

    Returns a instance of ConfigBridge<[Codable]>.

    Declaration

    Swift

    public static var _configArray: ConfigBridge<[Self]> { get }