public void AddExtras(IDictionary <string, object> extras) { if (ServiceJavaObject != null) { ServiceJavaObject.Call("addExtras", extras != null ? TTPJson.Serialize(extras) : "{}"); } }
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); }
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); }
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); }
public void EndLogEvent(string eventName, IDictionary <string, object> eventParams) { if (ServiceJavaObject != null) { ServiceJavaObject.Call("endLogEvent", eventName, eventParams != null ? TTPJson.Serialize(eventParams) : "{}"); } }
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); } }
public void AddExtras(IDictionary <string, object> extras) { ttpAddExtras(extras != null ? TTPJson.Serialize(extras) : "{}"); }
public bool GetRemoteDictionary(IList <string> keys, double timeoutInSecs) { return(ttpGetRemoteDictionary(keys != null ? TTPJson.Serialize(keys): "[]", timeoutInSecs)); }
public void EndLogEvent(string eventName, IDictionary <string, object> eventParams) { ttpEndLogEvent(eventName, eventParams != null ? TTPJson.Serialize(eventParams) : "{}"); }
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); }