Ejemplo n.º 1
0
 public void Event(ESdkEvent eventName, object param)
 {
     if (this.initialized)
     {
         if (eventName == ESdkEvent.Tuturial)
         {
             MATEvent tuneEvent = new MATEvent("tutorial_complete");
             MATBinding.MeasureEvent(tuneEvent);
         }
     }
 }
Ejemplo n.º 2
0
 public void Event(ESdkEvent eventName, object param)
 {
     if (param != null)
     {
         this.Print(string.Concat(new object[] { "Event ", eventName, " (", param, ")" }));
     }
     else
     {
         this.Print("Event " + eventName);
     }
 }
Ejemplo n.º 3
0
 public void Event(ESdkEvent eventName, object value)
 {
     if (this.initialized)
     {
         Dictionary <string, string> eventValues = new Dictionary <string, string>();
         if (eventName == ESdkEvent.Tuturial)
         {
             string str = "af_tutorial_completion";
             eventValues["af_success"] = "true";
             if (value != null)
             {
                 eventValues["af_content_id"] = value.ToString();
             }
             AppsFlyer.trackRichEvent(str, eventValues);
         }
     }
 }
Ejemplo n.º 4
0
        public void Event(ESdkEvent eventName, [Optional, DefaultParameterValue(null)] object param)
        {
            IEnumerator <ISdkWrapper> enumerator = this.m_trackingSdks.GetEnumerator();

            try
            {
                while (enumerator.MoveNext())
                {
                    enumerator.Current.Event(eventName, param);
                }
            }
            finally
            {
                if (enumerator == null)
                {
                }
                enumerator.Dispose();
            }
        }
Ejemplo n.º 5
0
        public void Event(ESdkEvent eventName, object param)
        {
            string str;
            Dictionary <string, object> parameters = new Dictionary <string, object>();
            ESdkEvent event2 = eventName;

            if (event2 == ESdkEvent.LevelUp)
            {
                str = "fb_mobile_level_achieved";
                parameters.Add("fb_level", param);
            }
            else if (event2 == ESdkEvent.Tuturial)
            {
                str = "fb_mobile_tutorial_completion";
            }
            else
            {
                str = eventName.ToString();
            }
            FB.LogAppEvent(str, null, parameters);
        }