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

Core event class More...

Inheritance diagram for Core.Platform.SDK.Analytics.CoreEvent:
Inheritance graph
Collaboration diagram for Core.Platform.SDK.Analytics.CoreEvent:
Collaboration graph

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 Core.Platform.SDK.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()

Core.Platform.SDK.Analytics.CoreEvent.CoreEvent ( string  category,
string  eventName,
IDictionary< string, object >  eventParams 
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 Core.Platform.SDK.Analytics.CoreEvent.Serialize ( JsonSerializable.IStreamSerializer  s)

Constructs a payload which represents this analytics event

Implements Core.Serialization.JsonSerializable.ISerializable.

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