private void userUnset(List <string> properties, DateTime dateTime) { Dictionary <string, object> finalProperties = new Dictionary <string, object>(); foreach (string s in properties) { finalProperties.Add(s, 0); } instance.Call("user_unset", getJSONObject(TD_MiniJSON.Serialize(finalProperties)), getDate(dateTime)); }
private Dictionary <string, object> getSuperProperties() { Dictionary <string, object> result = null; AndroidJavaObject superPropertyObject = instance.Call <AndroidJavaObject>("getSuperProperties"); if (null != superPropertyObject) { string superPropertiesString = superPropertyObject.Call <string>("toString"); result = TD_MiniJSON.Deserialize(superPropertiesString); } return(result); }
private Dictionary <string, object> getSuperProperties() { string superPropertiesString = get_super_properties(token.appid); return(TD_MiniJSON.Deserialize(superPropertiesString)); }
private void userSetOnce(string properties, DateTime dateTime) { TD_Log.d("TA.Wrapper(" + token.appid + ") - calling userSetOnce with properties: " + TD_MiniJSON.Serialize(properties) + ", dateTime: " + dateTime.ToString("yyyy-MM-dd HH:mm:ss.fff")); }
private void userSetOnce(string properties) { TD_Log.d("TA.Wrapper(" + token.appid + ") - calling userSetOnce with properties: " + TD_MiniJSON.Serialize(properties)); }
private void setSuperProperties(string superProperties) { TD_Log.d("TA.Wrapper(" + token.appid + ") - calling setSuperProperties with superProperties: " + TD_MiniJSON.Serialize(superProperties)); }
private string serilize <T>(Dictionary <string, T> data) { return(TD_MiniJSON.Serialize(data, getTimeString)); }