OptimizelyInitializationState Constants Reference

Declared in Optimizely.h

OptimizelyInitializationState

Enumeration type showing the status of the current Optimizely singleton’s state, regarding whether it has started, is in the process of starting up, or has not been started.

This enumeration is accessible through the property startingState, accessed through the +sharedInstance method.

Definition

typedef NS_ENUM(NSInteger, OptimizelyInitializationState ) {
   OptimizelyInitializationStateIsNotStarted,
   OptimizelyInitializationStateIsStarting,
   OptimizelyInitializationStateIsStarted,
};

Constants

OptimizelyInitializationStateIsNotStarted

The Optimizely singleton has not started.

Declared In Optimizely.h.

OptimizelyInitializationStateIsStarting

The Optimizely singleton is starting and initializing required components. This helps to avoid double initialization.

Declared In Optimizely.h.

OptimizelyInitializationStateIsStarted

The Optimizely singleton has started and all required components are initialized.

Declared In Optimizely.h.

Declared In

Optimizely.h