Exemplo n.º 1
0
 public void AddExtras(IDictionary <string, object> extras)
 {
     if (ServiceJavaObject != null)
     {
         ServiceJavaObject.Call("addExtras", extras != null ? TTPJson.Serialize(extras) : "{}");
     }
 }
Exemplo n.º 2
0
            public void EndLogEvent(string eventName, IDictionary <string, object> eventParams)
            {
                string paramsStr = "";

                if (eventParams != null && eventParams.Count > 0)
                {
                    paramsStr = TTPJson.Serialize(eventParams);
                }
                Debug.Log("TTPAnalytics::EditorImpl::EndLogEvent: eventName: " + eventName + "\neventParams: " + paramsStr);
            }
Exemplo n.º 3
0
            public void LogEvent(long targets, string eventName, IDictionary <string, object> eventParams, bool timed, bool ttpInternal)
            {
                string paramsStr = "";

                if (eventParams != null && eventParams.Count > 0)
                {
                    paramsStr = TTPJson.Serialize(eventParams);
                }
                Debug.Log("TTPAnalytics::EditorImpl::LogEvent: eventName: " + eventName + "\neventParams: " + paramsStr + "\ntimed: " + timed);
            }
Exemplo n.º 4
0
            public bool CallDecisionPoint(string decisionPoint, Dictionary <string, object> parameters, double timeoutInSecs)
            {
                string paramsStr = "";

                if (parameters != null && parameters.Count > 0)
                {
                    paramsStr = TTPJson.Serialize(parameters);
                }
                Debug.Log("TTPAnalytics::EditorImpl::CallDecisionPoint: decisionPoint: " + decisionPoint + "\nparameters: " + paramsStr);
                return(false);
            }
Exemplo n.º 5
0
 public void EndLogEvent(string eventName, IDictionary <string, object> eventParams)
 {
     if (ServiceJavaObject != null)
     {
         ServiceJavaObject.Call("endLogEvent", eventName, eventParams != null ? TTPJson.Serialize(eventParams) : "{}");
     }
 }
Exemplo n.º 6
0
 public void LogEvent(long targets, string eventName, IDictionary <string, object> eventParams, bool timed, bool ttpInternal)
 {
     if (ServiceJavaObject != null)
     {
         ServiceJavaObject.Call("logEvent", targets, eventName, eventParams != null ? TTPJson.Serialize(eventParams) : "{}", timed, ttpInternal);
     }
 }
Exemplo n.º 7
0
 public void AddExtras(IDictionary <string, object> extras)
 {
     ttpAddExtras(extras != null ? TTPJson.Serialize(extras) : "{}");
 }
Exemplo n.º 8
0
 public bool GetRemoteDictionary(IList <string> keys, double timeoutInSecs)
 {
     return(ttpGetRemoteDictionary(keys != null ? TTPJson.Serialize(keys): "[]", timeoutInSecs));
 }
Exemplo n.º 9
0
 public void EndLogEvent(string eventName, IDictionary <string, object> eventParams)
 {
     ttpEndLogEvent(eventName, eventParams != null ? TTPJson.Serialize(eventParams) : "{}");
 }
Exemplo n.º 10
0
 public void LogEvent(long targets, string eventName, IDictionary <string, object> eventParams, bool timed, bool ttpInternal)
 {
     ttpLogEvent(targets, eventName, eventParams != null ? TTPJson.Serialize(eventParams) : "{}", timed, ttpInternal);
 }