ObjcLDStringEvaluationDetail
@objc(LDStringEvaluationDetail)
public final class ObjcLDStringEvaluationDetail : NSObject
Structure that contains the evaluation result and additional information when evaluating a flag as a string.
-
The value of the flag for the current context.
Declaration
Swift
@objc public let value: String?
-
The index of the returned value within the flag’s list of variations, or
-1
if the default was returned.Declaration
Swift
@objc public let variationIndex: Int
-
A structure representing the main factor that influenced the resultant flag evaluation value.
Declaration
Swift
@objc public let reason: [String : ObjcLDValue]?