MaggioAnalytics

Objective-C

@protocol MaggioAnalytics <NSObject>

Swift

@MainActor protocol MaggioAnalytics : NSObjectProtocol

MaggioAnalytics is deprecated. Use RichieAnalytics instead.

  • Undocumented

    Declaration

    Objective-C

    -(void) startSession;

    Swift

    func startSession()
  • Undocumented

    Declaration

    Objective-C

    -(void) resume;

    Swift

    func resume()
  • Undocumented

    Declaration

    Objective-C

    -(void) close;

    Swift

    func close()
  • Update the random screen identifier associated with future analytics events.

    Declaration

    Objective-C

    - (void)updateScreenId;

    Swift

    func updateScreenId()
  • Update analytics data for use as previous_analytics_data. When you call this, previous_analytics_data will be set to the value provided by the previous call to this method.

    Declaration

    Objective-C

    - (void)updateCurrentScreenAnalyticsData:
        (nonnull NSDictionary<NSString *, id> *)analyticsData;

    Swift

    func updateCurrentScreenAnalyticsData(_ analyticsData: [String : Any])
  • Undocumented

    Declaration

    Objective-C

    -(void) addEvent:(NSString *)event;

    Swift

    func addEvent(_ event: String)
  • Undocumented

    Declaration

    Objective-C

    -(void) addEvent:(NSString *)event attributes:(NSDictionary<NSString *, id> *)attributes;

    Swift

    func addEvent(_ event: String, attributes: [String : Any] = [:])
  • Undocumented

    Declaration

    Objective-C

    -(void) addEvent:(NSString *)event
    	  attributes:(NSDictionary<NSString *, id> *)attributes
     forceBackground:(BOOL)forceBackground;

    Swift

    func addEvent(_ event: String, attributes: [String : Any] = [:], forceBackground: Bool)
  • Undocumented

    Declaration

    Objective-C

    - (void)addContextAttributeValue:(nonnull id)value
                              forKey:(nonnull NSString *)key;

    Swift

    func addContextAttributeValue(_ value: Any, forKey key: String)
  • Undocumented

    Declaration

    Objective-C

    -(void) removeContextAttribute:(NSString *)key;

    Swift

    func removeContextAttribute(_ key: String)
  • Undocumented

    Declaration

    Objective-C

    - (void)setGlobalAttributes:(nonnull NSDictionary<NSString *, id> *)attributes;

    Swift

    func setGlobalAttributes(_ attributes: [String : Any])
  • Undocumented

    Declaration

    Objective-C

    - (nonnull NSDictionary<NSString *, id> *)contextAttributes;

    Swift

    func contextAttributes() -> [String : Any]