Beamable SDK
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Beamable.Api.Analytics.CoreEvent Class Reference

Core event class More...

Inheritance diagram for Beamable.Api.Analytics.CoreEvent:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Api.Analytics.CoreEvent:
Collaboration graph
[legend]

Public Member Functions

 CoreEvent (string category, string eventName, IDictionary< string, object > eventParams)
 
void Serialize (JsonSerializable.IStreamSerializer s)
 Constructs a payload which represents this analytics event More...
 

Public Attributes

string OpCode => _opCode
 
string eventName
 
string category
 

Protected Attributes

IDictionary< string, object > eventParams
 

Additional Inherited Members

- Properties inherited from Beamable.Api.Analytics.IAnalyticsEvent
string OpCode [get]
 Gets the op code of the analytics event. More...
 

Detailed Description

Core event class

This class can be used in two ways: a) Directly create instances in a structured way, such as with factory methods b) Subclassing

Constructor & Destructor Documentation

◆ CoreEvent()

Beamable.Api.Analytics.CoreEvent.CoreEvent ( string  category,
string  eventName,
IDictionary< string, object >  eventParams 
)
inline
Parameters
categoryLow cardinality descriptor of the event
eventNameHigh cardinality descriptor of the event
eventParamsOther parameters: must be flat with no nesting

Member Function Documentation

◆ Serialize()

void Beamable.Api.Analytics.CoreEvent.Serialize ( JsonSerializable.IStreamSerializer  s)
inline

Constructs a payload which represents this analytics event

Implements Beamable.Serialization.JsonSerializable.ISerializable.


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