Exemplo n.º 1
0
        /// <summary>
        /// Record a custom timed event specified by the event name or ID, along with parameters.
        /// </summary>
        /// <param name="eventId">The event name or ID.</param>
        /// <param name="parameters">The parameters to associate with the event.</param>
        /// <param name="timed">True if the event is a timed event, or False otherwise.</param>
        public static void LogEvent(string eventId, IDictionary <string, string> parameters, bool timed)
        {
#if WINDOWS_PHONE || __ANDROID__ || __IOS__
            NativeParameterCollection p = GetParameters(parameters);
            if (p == null)
            {
                LogEvent(eventId, timed);
            }
            else
            {
                NativeFlurry.LogEvent(eventId, p, timed);
            }
#endif
        }
Exemplo n.º 2
0
        /// <summary>
        /// Record a custom timed event specified by the event name or ID.
        /// </summary>
        /// <param name="eventId">The event name or ID.</param>
        /// <param name="timed">True if the event is a timed event, or False otherwise.</param>
        public static void LogEvent(string eventId, bool timed)
        {
#if WINDOWS_PHONE || __ANDROID__ || __IOS__
            NativeFlurry.LogEvent(eventId, timed);
#endif
        }