AnalyticsAPI

@interface AnalyticsAPI : NSObject <IAnalyticsTracker>

The analytics subsytem. By default, the analytics library will automatically track the First Launch, Session Start, and Session End events.

  • Singleton Instance

    Declaration

    Swift

    + (nonnull AnalyticsAPI *)sharedInstance;
  • Used to set and initialize the Flurry library with the given key.

    Declaration

    Swift

    @property (readwrite, strong, nonatomic, nullable) NSString *flurryAppKey;
  • Set to true if you wish to see more detailed logs. NOTE: Set this before initialization or you might miss a couple events.

    Declaration

    Swift

    @property (assign, readwrite, nonatomic) BOOL logEvents;
  • For COPPA compliant games, disable this until after the user passes the age-gate.

    Declaration

    Swift

    @property (assign, readwrite, nonatomic) BOOL canSendEvents;
  • Undocumented

    Declaration

    Swift

    - (void)preInitialize;
  • Undocumented

    Declaration

    Swift

    - (void)initialize;
  • Undocumented

    Declaration

    Swift

    - (void)setABGroup:(int)abGroup;
  • Undocumented

    Declaration

    Swift

    - (void)sendFacebookUserInfoEvent:(nullable NSString*)fbid parameters:(nullable NSArray<NSObject*>*)customParameters;