Ta android + ios
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using System.Collections.Generic;
|
||||
using ThinkingSDK.PC.Constant;
|
||||
|
||||
namespace ThinkingSDK.PC.DataModel
|
||||
{
|
||||
public class ThinkingSDKUpdateEvent:ThinkingSDKEventData
|
||||
{
|
||||
|
||||
private string mEventID;
|
||||
public ThinkingSDKUpdateEvent(string eventName, string eventID) : base(eventName)
|
||||
{
|
||||
this.mEventID = eventID;
|
||||
}
|
||||
public override string GetDataType()
|
||||
{
|
||||
return "track_update";
|
||||
}
|
||||
override public Dictionary<string, object> ToDictionary()
|
||||
{
|
||||
Dictionary<string, object> dictionary = base.ToDictionary();
|
||||
dictionary[ThinkingSDKConstant.EVENT_ID] = mEventID;
|
||||
return dictionary;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user