Integrate with Enhance - Native Android
Analytics
The connector library allows you to send custom events to the hooked analytics networks.
Example Usage
Enhance.logEvent("game_over", "level", "1"); Enhance.logEvent("user_exit");
Methods
Enhance.logEvent
void Enhance.logEvent(
String eventType
)
Parameters:
String eventType
- Type (name) of the event.
Enhance.logEvent
void Enhance.logEvent(
String eventType,
String paramKey,
String paramValue
)
Parameters:
String eventType
- Type (name) of the event.
String paramKey
- Key of the event's parameter.
String paramValue
- Value of the event's parameter.
Enhance.logEvent
void Enhance.logEvent(
String eventType,
Map<String, String> params
)
Parameters:
String eventType
- Type (name) of the event.
Map<String, String> params
- A collection of key - value pairs.