iOS SDK  12.0.0
 All Classes Functions Enumerations Enumerator Groups Pages
Flurry(Event) Category Reference

Class Methods

(FlurryEventRecordStatus) + logStandardEvent:withParameters:
 Records a standard parameterized event specified by eventType with parameters. More...
 

Detailed Description

Definition at line 789 of file Flurry+Event.h.

Method Documentation

+ (FlurryEventRecordStatus) logStandardEvent: (FlurryEvent)  eventType

Records a standard parameterized event specified by eventType with parameters.

Since
11.3.0

This method allows you to log standard events associated with parameters. Parameters are extremely valuable as they allow you to store characteristics of an action. For example, if a user purchased an item (log an purchase event), it may be helpful to know item info (itemName, itemType, itemId, itemCount), and transaction info (price, totalAmount, currency, transactionId) of such events.

Note
You should not pass private or confidential information about your users in a standard event.

A maximum of 10 parameter names may be associated with any event. Sending over 10 parameter names with a single event will result in no parameters being logged for that event.

- (void)someGamingEvent{
FlurryParamBuilder *param = [[[[[[FlurryParamBuilder alloc] init]
setString:@"Game pro" forParam:[FlurryParamBuilder levelName]]
setInteger:2 forParam:[FlurryParamBuilder levelNumber]]
setString:@"12345" forKey:@"userId"]
setInteger:10 forKey:@"numOfTrials"];
[Flurry logStandardEvent:FLURRY_EVENT_LEVEL_COMPLETED withParameters:param];
}
Parameters
eventTypeFlurryEvent enum.
parametersa FlurryParam object that stores key-value pairs of a standard parameterized event.
Returns
enum FlurryEventRecordStatus for the recording status of the logged event.

Extends class Flurry.


The documentation for this category was generated from the following file: