Example #1
0
 public Mixpanel(string token) : this(MixpanelSDKPINVOKE.new_Mixpanel__SWIG_1(token), true)
 {
     if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
     {
         throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
     }
     SwigDirectorConnect();
 }
Example #2
0
 public Mixpanel(string token, bool enable_log_queue) : this(MixpanelSDKPINVOKE.new_Mixpanel__SWIG_0(token, enable_log_queue), true)
 {
     if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
     {
         throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
     }
     SwigDirectorConnect();
 }
Example #3
0
 public void set_once(string property, Value to)
 {
     MixpanelSDKPINVOKE.Mixpanel_People_set_once(swigCPtr, property, Value.getCPtr(to));
     if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
     {
         throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
 public void track_charge(double amount, Value properties)
 {
     MixpanelSDKPINVOKE.Mixpanel_People_track_charge__SWIG_0(swigCPtr, amount, Value.getCPtr(properties));
     if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
     {
         throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #5
0
 public void alias(string alias)
 {
     MixpanelSDKPINVOKE.Mixpanel_alias(swigCPtr, alias);
     if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
     {
         throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #6
0
 public void identify(string unique_id)
 {
     MixpanelSDKPINVOKE.Mixpanel_identify(swigCPtr, unique_id);
     if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
     {
         throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #7
0
 public void register_(string key, Value value)
 {
     MixpanelSDKPINVOKE.Mixpanel_register_(swigCPtr, key, Value.getCPtr(value));
     if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
     {
         throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #8
0
 public void set(Value x)
 {
     MixpanelSDKPINVOKE.CSharp_Value_set__SWIG_4(swigCPtr, Value.getCPtr(x));
     if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
     {
         throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #9
0
 public void unset(string property)
 {
     MixpanelSDKPINVOKE.Mixpanel_People_unset(swigCPtr, property);
     if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
     {
         throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #10
0
 public void increment(string property, Value by)
 {
     MixpanelSDKPINVOKE.Mixpanel_People_increment(swigCPtr, property, Value.getCPtr(by));
     if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
     {
         throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #11
0
 public void track(string arg0, Value properties)
 {
     MixpanelSDKPINVOKE.Mixpanel_track__SWIG_0(swigCPtr, arg0, Value.getCPtr(properties));
     if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
     {
         throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #12
0
 public void set(string x)
 {
     MixpanelSDKPINVOKE.CSharp_Value_set__SWIG_1(swigCPtr, x);
     if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
     {
         throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #13
0
 public void union_(string list_name, Value values)
 {
     MixpanelSDKPINVOKE.Mixpanel_People_union_(swigCPtr, list_name, Value.getCPtr(values));
     if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
     {
         throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #14
0
 public void set_phone(string to)
 {
     MixpanelSDKPINVOKE.Mixpanel_People_set_phone(swigCPtr, to);
     if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
     {
         throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #15
0
 public void opt_in_tracking(string distinct_id)
 {
     MixpanelSDKPINVOKE.Mixpanel_opt_in_tracking__SWIG_1(swigCPtr, distinct_id);
     if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
     {
         throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #16
0
 public void opt_in_tracking(string distinct_id, Value properties)
 {
     MixpanelSDKPINVOKE.Mixpanel_opt_in_tracking__SWIG_0(swigCPtr, distinct_id, Value.getCPtr(properties));
     if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
     {
         throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #17
0
 public void track(string arg0)
 {
     MixpanelSDKPINVOKE.Mixpanel_track__SWIG_1(swigCPtr, arg0);
     if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
     {
         throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #18
0
 public void union_properties(Value properties)
 {
     MixpanelSDKPINVOKE.Mixpanel_People_union_properties(swigCPtr, Value.getCPtr(properties));
     if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
     {
         throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #19
0
        public Value append(Value value)
        {
            Value ret = new Value(MixpanelSDKPINVOKE.Value_append(swigCPtr, Value.getCPtr(value)), false);

            if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
            {
                throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #20
0
        public bool get_next_log_entry(Mixpanel.LogEntry entry)
        {
            bool ret = MixpanelSDKPINVOKE.CSharp_Mixpanel_get_next_log_entry(swigCPtr, Mixpanel.LogEntry.getCPtr(entry));

            if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
            {
                throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #21
0
        public bool clear_timed_event(string event_name)
        {
            bool ret = MixpanelSDKPINVOKE.CSharp_Mixpanel_clear_timed_event(swigCPtr, event_name);

            if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
            {
                throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #22
0
        public bool unregister_properties(Value properties)
        {
            bool ret = MixpanelSDKPINVOKE.CSharp_Mixpanel_unregister_properties(swigCPtr, Value.getCPtr(properties));

            if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
            {
                throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #23
0
        public bool unregister(string key)
        {
            bool ret = MixpanelSDKPINVOKE.CSharp_Mixpanel_unregister(swigCPtr, key);

            if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
            {
                throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #24
0
        public bool register_once(string key, Value value)
        {
            bool ret = MixpanelSDKPINVOKE.CSharp_Mixpanel_register_once(swigCPtr, key, Value.getCPtr(value));

            if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
            {
                throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #25
0
        public Value at(string key)
        {
            Value ret = new Value(MixpanelSDKPINVOKE.Value_at__SWIG_0(swigCPtr, key), false);

            if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
            {
                throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #26
0
        public Value removeMember(string key)
        {
            Value ret = new Value(MixpanelSDKPINVOKE.Value_removeMember(swigCPtr, key), true);

            if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
            {
                throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #27
0
        public bool isMember(string key)
        {
            bool ret = MixpanelSDKPINVOKE.Value_isMember(swigCPtr, key);

            if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
            {
                throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #28
0
        public bool start_timed_event_once(string event_name)
        {
            bool ret = MixpanelSDKPINVOKE.Mixpanel_start_timed_event_once(swigCPtr, event_name);

            if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
            {
                throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #29
0
        public Value get(uint index, Value defaultValue)
        {
            Value ret = new Value(MixpanelSDKPINVOKE.Value_get__SWIG_0(swigCPtr, index, Value.getCPtr(defaultValue)), true);

            if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
            {
                throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #30
0
        public Value get(string key, Value defaultValue)
        {
            Value ret = new Value(MixpanelSDKPINVOKE.CSharp_Value_get__SWIG_1(swigCPtr, key, Value.getCPtr(defaultValue)), true);

            if (MixpanelSDKPINVOKE.SWIGPendingException.Pending)
            {
                throw MixpanelSDKPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }