Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
        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));
        }
Exemplo n.º 4
0
 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"));
 }
Exemplo n.º 5
0
 private void userSetOnce(string properties)
 {
     TD_Log.d("TA.Wrapper(" + token.appid + ") - calling userSetOnce with properties: " + TD_MiniJSON.Serialize(properties));
 }
Exemplo n.º 6
0
 private void setSuperProperties(string superProperties)
 {
     TD_Log.d("TA.Wrapper(" + token.appid + ") - calling setSuperProperties with superProperties: " + TD_MiniJSON.Serialize(superProperties));
 }
Exemplo n.º 7
0
 private string serilize <T>(Dictionary <string, T> data)
 {
     return(TD_MiniJSON.Serialize(data, getTimeString));
 }