Ejemplo n.º 1
0
        public static string TrackException(AndroidJavaObject exception, IDictionary <string, string> properties, ErrorAttachmentLog[] attachments)
        {
            var javaProperties  = JavaStringMapHelper.ConvertToJava(properties);
            var javaAttachments = JavaObjectsConverter.ToJavaAttachments(attachments);

            return(_wrapperSdkExceptionManager.CallStatic <string>("trackException", exception, javaProperties, javaAttachments));
        }
Ejemplo n.º 2
0
        public static void TrackException(AndroidJavaObject exception, IDictionary <string, string> properties)
        {
            var propertiesMap = JavaStringMapHelper.ConvertToJava(properties);

            _wrapperSdkExceptionManager.CallStatic("trackException", exception, propertiesMap);
        }
Ejemplo n.º 3
0
        public static void TrackEventWithProperties(string eventName, IDictionary <string, string> properties)
        {
            var androidProperties = JavaStringMapHelper.ConvertToJava(properties);

            _analytics.CallStatic("trackEvent", eventName, androidProperties);
        }
Ejemplo n.º 4
0
        public static void TrackEventWithProperties(AndroidJavaObject transmissionTarget, string eventName, IDictionary <string, string> properties)
        {
            var androidProperties = JavaStringMapHelper.ConvertToJava(properties);

            transmissionTarget.Call("trackEvent", eventName, androidProperties);
        }