Exemplo n.º 1
0
    public static void logEvent(XEvent xEvent)
    {
        Debug.Log(xEvent.getXProperties().identifyMap.Count);
        Debug.Log("logEvent");

        string xProperties = getXProperties(xEvent.getXProperties());

        CallLogEvent(xEvent.getEventName(), xProperties);
    }
Exemplo n.º 2
0
    public static string xEventObjectToDictionary(XEvent xEvent)
    {
        Dictionary <string, object> dictionary = new Dictionary <string, object>();

        dictionary.Add("evtname", xEvent.getEventName());
        dictionary.Add("properties", getXProperties(xEvent.getXProperties()));
        string json = Serializer.Serialize(dictionary);

        Debug.Log("xEvent json string : " + json);
        return(json);
    }
 public EventIos(XEvent xEvent)
 {
     this.evtName = xEvent.getEventName();
 }