Class ActivityEvent
Contains the data for a single event as part of an activity. An event should contain an EventCode (referring to what kind of event this specific event is). The EventData should contain additional key-value-pair data you may want to attach to this event. If this event is to be shown on the EMS Dashboard, you can check the list of available event codes and required content on the EMS for each module.
Inheritance
System.Object
ActivityEvent
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Appearition.Analytics
Assembly: Appearition.SDK.dll
Syntax
[Serializable]
public class ActivityEvent
Constructors
View SourceActivityEvent()
Declaration
public ActivityEvent()
ActivityEvent(String)
Declaration
public ActivityEvent(string eventCode)
Parameters
Type | Name | Description |
---|---|---|
System.String | eventCode |
ActivityEvent(String, AnalyticsData)
Declaration
public ActivityEvent(string eventCode, AnalyticsData eventData)
Parameters
Type | Name | Description |
---|---|---|
System.String | eventCode | |
AnalyticsData | eventData |
ActivityEvent(String, Dictionary<String, String>)
Declaration
public ActivityEvent(string eventCode, Dictionary<string, string> eventData)
Parameters
Type | Name | Description |
---|---|---|
System.String | eventCode | |
System.Collections.Generic.Dictionary<System.String, System.String> | eventData |
ActivityEvent(String, List<AnalyticsData>)
Declaration
public ActivityEvent(string eventCode, List<AnalyticsData> eventData)
Parameters
Type | Name | Description |
---|---|---|
System.String | eventCode | |
System.Collections.Generic.List<AnalyticsData> | eventData |
Fields
View SourceEventCode
If this activity event is custom, this event code can be what you want it to be. If this activity event is to be shown in the EMS Dashboard, make sure it matches one of the available EventCodes for each module.
Declaration
public string EventCode
Field Value
Type | Description |
---|---|
System.String |
EventData
Declaration
public List<AnalyticsData> EventData
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<AnalyticsData> |
EventUtcDateTime
Declaration
public string EventUtcDateTime
Field Value
Type | Description |
---|---|
System.String |
Properties
View SourceEventDateTime
Declaration
public DateTime EventDateTime { get; }
Property Value
Type | Description |
---|---|
System.DateTime |