Other Types

  • Defines the connection modes available to set into LDClient.

    See more

    Declaration

    Swift

    public enum LDStreamingMode
  • Protocol used by the SDK to limit feature flag types to those representable on LaunchDarkly servers. Client app developers should not need to use this protocol. The protocol is public because LDClient.variation(forKey:defaultValue:) and LDClient.variationDetail(forKey:defaultValue:) return a type that conforms to this protocol. See LDFlagValue for types that LaunchDarkly feature flags can take.

    Declaration

    Swift

    public protocol LDFlagValueConvertible
  • The feature flag key is a String. This typealias helps define where the SDK expects the string to be a feature flag key.

    Declaration

    Swift

    public typealias LDFlagKey = String
  • Undocumented

    See more

    Declaration

    Swift

    @objc
    public class LDInvalidArgumentError : NSObject, Error
  • A closure used to notify an observer owner that an error occurred during feature flag processing.

    Declaration

    Swift

    public typealias LDErrorHandler = (Error) -> Void