Beispiel #1
0
        private Dictionary <string, object> _getSuperProperties()
        {
            string propertiesJson = get_super_properties();

            if (propertiesJson == null || propertiesJson.Length == 0)
            {
                return(null);
            }
            return(SAUtils.Parse2Dictionary(propertiesJson));
        }
        private Dictionary <string, object> _getSuperProperties()
        {
            AndroidJavaObject jsonObj = apiInstance.Call <AndroidJavaObject>("getSuperProperties");
            string            jsonStr = jsonObj.Call <string>("toString");

            if (jsonStr == null || jsonStr.Length == 0)
            {
                return(null);
            }
            return(SAUtils.Parse2Dictionary(jsonStr));
        }