public static void AddDesignEvent(string eventId, IDictionary <string, object> fields = null) { GADevice.UpdateConnectionType(); GAThreading.PerformTaskOnGAThread("addDesignEvent", () => { if (!IsSdkReady(true, true, "Could not add design event")) { return; } GAEvents.AddDesignEvent(eventId, 0, false, fields); }); }
public static void AddDesignEvent(string eventId, double value) { GADevice.UpdateConnectionType(); GAThreading.PerformTaskOnGAThread("addDesignEvent", () => { if (!IsSdkReady(true, true, "Could not add design event")) { return; } GAEvents.AddDesignEvent(eventId, value, true); }); }
public static void AddDesignEvent(string eventId, double value, IDictionary <string, object> customFields = null, bool mergeFields = false) { if (_endThread) { return; } GADevice.UpdateConnectionType(); GAThreading.PerformTaskOnGAThread("addDesignEvent", () => { if (!IsSdkReady(true, true, "Could not add design event")) { return; } GAEvents.AddDesignEvent(eventId, value, true, customFields, mergeFields); }); }