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)); }
public static PushNotificationReceivedEventArgs PushConvert(AndroidJavaObject javaPush) { var customDataMap = javaPush.Call <AndroidJavaObject>("getCustomData"); var customData = JavaStringMapHelper.ConvertFromJava(customDataMap); var title = javaPush.Call <string>("getTitle"); var message = javaPush.Call <string>("getMessage"); return(new PushNotificationReceivedEventArgs { CustomData = customData, Message = message, Title = title }); }
public static void TrackException(AndroidJavaObject exception, IDictionary <string, string> properties) { var propertiesMap = JavaStringMapHelper.ConvertToJava(properties); _wrapperSdkExceptionManager.CallStatic("trackException", exception, propertiesMap); }
public static void TrackEventWithProperties(string eventName, IDictionary <string, string> properties) { var androidProperties = JavaStringMapHelper.ConvertToJava(properties); _analytics.CallStatic("trackEvent", eventName, androidProperties); }
public static void TrackEventWithProperties(AndroidJavaObject transmissionTarget, string eventName, IDictionary <string, string> properties) { var androidProperties = JavaStringMapHelper.ConvertToJava(properties); transmissionTarget.Call("trackEvent", eventName, androidProperties); }