OptimizelyExperimentData Class Reference

Inherits from NSObject
Declared in OptimizelyExperimentData.h

Overview

This class represents the data for the current state of your Optimizely experiment object. You can choose to access various properties to figure out the current experiment state within Optimizely.

  audiences

Property that tells you the audiences currently associated with this experiment

@property (nonatomic, readonly, strong) NSString *audiences

Declared In

OptimizelyExperimentData.h

  experimentId

Property that tells you the experiment Id

@property (nonatomic, readonly, strong) NSString *experimentId

Declared In

OptimizelyExperimentData.h

  experimentName

Property that tells you the experiment Name

@property (nonatomic, readonly, strong) NSString *experimentName

Declared In

OptimizelyExperimentData.h

  isManual

Property that tells you whether or not your experiment is a manual activation experiment.

@property (nonatomic, readonly) BOOL isManual

Declared In

OptimizelyExperimentData.h

  locked

Property that tells you whether or not your was locked out of activation, because another experiment was making a conflicting change or your assets did not finish downloading in time

@property (nonatomic, readonly) BOOL locked

Declared In

OptimizelyExperimentData.h

  state

Property that tells you the state of the experiment

@property (readonly) OptimizelyExperimentDataState state

Declared In

OptimizelyExperimentData.h

  targetingConditions

Property that tells you the targeting conditions currently associated with this experiment

@property (nonatomic, readonly, strong) NSString *targetingConditions

Declared In

OptimizelyExperimentData.h

  targetingMet

Property that tells you whether or not your user has met targeting conditions

@property (nonatomic, readonly) BOOL targetingMet

Declared In

OptimizelyExperimentData.h

  variations

Property that stores the dictionary representation of all variations associated with this experiment

@property (nonatomic, readonly, strong) NSArray *variations

Declared In

OptimizelyExperimentData.h

  variationId

Property that tells you the active variation Id (can be nil if not bucketed)

@property (nonatomic, readonly, strong) NSString *variationId

Declared In

OptimizelyExperimentData.h

  variationName

Property that tells you the active variation Name (can be nil if not bucketed)

@property (nonatomic, readonly, strong) NSString *variationName

Declared In

OptimizelyExperimentData.h

  visitedCount

Property that counts the number of times the user has seen this experiment

@property (nonatomic, readonly) NSUInteger visitedCount

Declared In

OptimizelyExperimentData.h

  visitedEver

Property that computes whether or not the user has seen this experiment in their lifetime

@property (nonatomic, readonly) BOOL visitedEver

Declared In

OptimizelyExperimentData.h

  visitedThisSession

Property that tells you whether or not the user has seen this experiment this session

@property (nonatomic, readonly) BOOL visitedThisSession

Declared In

OptimizelyExperimentData.h