Ejemplo n.º 1
0
 public static void Emit(Countly.Event e)
 {
     Countly.Manager instance = Instance;
     if (instance != null)
     {
         instance.RecordEvent(e);
     }
 }
Ejemplo n.º 2
0
    /**
     * This method called by GCM plugin to notify about some interaction with push event
     */
    public void OnPushInteraction(string interaction)
    {
        Countly.Event pushEvent = new Countly.Event();
        pushEvent.Count = 1;
        pushEvent.Key   = interaction;
        pushEvent.Segmentation.Add("i", lastMessageId);

        Emit(pushEvent);
    }
Ejemplo n.º 3
0
    public static void Emit(string key, long count)
    {
        Countly.Manager instance = Instance;

        if (instance != null)
        {
            Countly.Event e = new Countly.Event();

            e.Key   = key;
            e.Count = count;

            instance.RecordEvent(e);
        }
    }
Ejemplo n.º 4
0
    public static void Emit(string key, long count, Dictionary <string, string> segmentation)
    {
        Countly.Manager instance = Instance;

        if (instance != null)
        {
            Countly.Event e = new Countly.Event();

            e.Key          = key;
            e.Count        = count;
            e.Segmentation = segmentation;

            instance.RecordEvent(e);
        }
    }
Ejemplo n.º 5
0
    /**
    * This method called by GCM plugin to notify about some interaction with push event
    */
    public void OnPushInteraction(string interaction)
    {
        Countly.Event pushEvent = new Countly.Event();
        pushEvent.Count = 1;
        pushEvent.Key = interaction;
        pushEvent.Segmentation.Add("i", lastMessageId);

        Emit(pushEvent);
    }
Ejemplo n.º 6
0
    public static void Emit(string key, long count, double sum, Dictionary<string, string> segmentation)
    {
        Countly.Manager instance = Instance;

        if (instance != null) {
          Countly.Event e = new Countly.Event();

          e.Key = key;
          e.Count = count;
          e.Sum = sum;
          e.Segmentation = segmentation;

          instance.RecordEvent(e);
        }
    }
Ejemplo n.º 7
0
    public static void Emit(string key, long count, double sum)
    {
        Countly.Manager instance = Instance;

        if (instance != null) {
          Countly.Event e = new Countly.Event();

          e.Key = key;
          e.Count = count;
          e.Sum = sum;

          instance.RecordEvent(e);
        }
    }