Other Classes
The following classes are available globally.
-
Contextual information that will be provided to handlers during evaluation series.
See moreDeclaration
Swift
public class EvaluationSeriesContext
-
Metadata data class used for annotating hook implementations.
See moreDeclaration
Swift
public class Metadata
-
Metadata about the environment that flag evaluations or other functionalities are being performed in.
This class provides context information to plugins about the environment they are running in, including application information, SDK metadata, and authentication credentials.
See moreDeclaration
Swift
public class EnvironmentMetadata
-
Metadata used for annotating plugin implementations.
This class provides identifying information about a plugin, primarily used for logging and debugging purposes.
See moreDeclaration
Swift
public class PluginMetadata
-
Metadata about the LaunchDarkly SDK.
This class provides information about the SDK version and name for informational purposes such as logging and debugging.
See moreDeclaration
Swift
public class SdkMetadata
-
Use LDApplicationInfo to define application metadata.
These properties are optional and informational. They may be used in LaunchDarkly analytics or other product features.
See moreDeclaration
Swift
@objc(LDApplicationInfo) public final class ObjcLDApplicationInfo : NSObject
-
Contains methods for building a single kind
LDContext
with a specified key, defaulting to kind “user”.You may use these methods to set additional attributes and/or change the kind before calling
LDContextBuilder.build()
. If you do not change any values, the defaults for theLDContext
are that its kind is “user”, its key is set to whatever value you passed toLDContextBuilder.init(key:)
, its anonymous attribute is false, and it has no values for any other attributes.To define a multi-context, see
See moreLDMultiContextBuilder
.Declaration
Swift
@objc(LDContextBuilder) public final class ObjcLDContextBuilder : NSObject
-
Contains method for building a multi-context.
Use this type if you need to construct a LDContext that has multiple kind values, each with its own nested LDContext. To define a single-kind context, use
LDContextBuilder
instead.Obtain an instance of LDMultiContextBuilder by calling
See moreLDMultiContextBuilder.init()
; then, callLDMultiContextBuilder.addContext(_:)
to specify the nested LDContext for each kind. LDMultiContextBuilder setters return a reference the same builder, so they can be chained together.Declaration
Swift
@objc(LDMultiContextBuilder) public final class ObjcLDMultiContextBuilder : NSObject
-
Undocumented
See moreDeclaration
Swift
@objc(ReferenceError) public final class ObjcLDReferenceError : NSObject