JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::AnalyticsDestination::AnalyticsEvent Struct Reference

Contains information about an event to be logged. More...

#include <juce_AnalyticsDestination.h>

Collaboration diagram for juce::AnalyticsDestination::AnalyticsEvent:

Public Attributes

int eventType
 An optional integer representing the type of the event. More...
 
String name
 The name of the event. More...
 
StringPairArray parameters
 The parameters of the event. More...
 
uint32 timestamp
 The timestamp of the event. More...
 
String userID
 The user ID associated with the event. More...
 
StringPairArray userProperties
 Properties associated with the user. More...
 

Detailed Description

Contains information about an event to be logged.

Member Data Documentation

◆ eventType

int juce::AnalyticsDestination::AnalyticsEvent::eventType

An optional integer representing the type of the event.

You can use this to indicate if the event was a screenview, session start, exception, etc.

◆ name

String juce::AnalyticsDestination::AnalyticsEvent::name

The name of the event.

◆ parameters

StringPairArray juce::AnalyticsDestination::AnalyticsEvent::parameters

The parameters of the event.

◆ timestamp

uint32 juce::AnalyticsDestination::AnalyticsEvent::timestamp

The timestamp of the event.

Timestamps are automatically applied by an Analytics object and are derived from Time::getMillisecondCounter(). As such these timestamps do not represent absolute times, but relative timings of events for each user in each session will be accurate.

◆ userID

String juce::AnalyticsDestination::AnalyticsEvent::userID

The user ID associated with the event.

◆ userProperties

StringPairArray juce::AnalyticsDestination::AnalyticsEvent::userProperties

Properties associated with the user.


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