Пример #1
0
        static void n_SetSessionProperties_Ljava_util_Map_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Infinario.Android.Infinariosdk.Infinario __this          = global::Java.Lang.Object.GetObject <global::Com.Infinario.Android.Infinariosdk.Infinario> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            System.Collections.Generic.IDictionary <string, Java.Lang.Object> p0 = global::Android.Runtime.JavaDictionary <string, global::Java.Lang.Object> .FromJniHandle(native_p0, JniHandleOwnership.DoNotTransfer);

            __this.SetSessionProperties(p0);
        }
Пример #2
0
        static void n_Identify_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Infinario.Android.Infinariosdk.Infinario __this = global::Java.Lang.Object.GetObject <global::Com.Infinario.Android.Infinariosdk.Infinario> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);

            __this.Identify(p0);
        }
Пример #3
0
        static bool n_Track_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Infinario.Android.Infinariosdk.Infinario __this = global::Java.Lang.Object.GetObject <global::Com.Infinario.Android.Infinariosdk.Infinario> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0    = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);
            bool   __ret = __this.Track(p0);

            return(__ret);
        }
Пример #4
0
        static bool n_Update_Ljava_util_Map_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Infinario.Android.Infinariosdk.Infinario __this          = global::Java.Lang.Object.GetObject <global::Com.Infinario.Android.Infinariosdk.Infinario> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            System.Collections.Generic.IDictionary <string, Java.Lang.Object> p0 = global::Android.Runtime.JavaDictionary <string, global::Java.Lang.Object> .FromJniHandle(native_p0, JniHandleOwnership.DoNotTransfer);

            bool __ret = __this.Update(p0);

            return(__ret);
        }
Пример #5
0
        static void n_Identify_Ljava_lang_String_Ljava_util_Map_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Com.Infinario.Android.Infinariosdk.Infinario __this = global::Java.Lang.Object.GetObject <global::Com.Infinario.Android.Infinariosdk.Infinario> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);

            System.Collections.Generic.IDictionary <string, Java.Lang.Object> p1 = global::Android.Runtime.JavaDictionary <string, global::Java.Lang.Object> .FromJniHandle(native_p1, JniHandleOwnership.DoNotTransfer);

            __this.Identify(p0, p1);
        }
Пример #6
0
        static bool n_Track_Ljava_lang_String_Ljava_util_Map_Ljava_lang_Long_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2)
        {
            global::Com.Infinario.Android.Infinariosdk.Infinario __this = global::Java.Lang.Object.GetObject <global::Com.Infinario.Android.Infinariosdk.Infinario> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);

            System.Collections.Generic.IDictionary <string, Java.Lang.Object> p1 = global::Android.Runtime.JavaDictionary <string, global::Java.Lang.Object> .FromJniHandle(native_p1, JniHandleOwnership.DoNotTransfer);

            global::Java.Lang.Long p2 = global::Java.Lang.Object.GetObject <global::Java.Lang.Long> (native_p2, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.Track(p0, p1, p2);

            return(__ret);
        }
Пример #7
0
        public static unsafe global::Com.Infinario.Android.Infinariosdk.Infinario GetInstance(global::Android.Content.Context p0, string p1)
        {
            if (id_getInstance_Landroid_content_Context_Ljava_lang_String_ == IntPtr.Zero)
            {
                id_getInstance_Landroid_content_Context_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "getInstance", "(Landroid/content/Context;Ljava/lang/String;)Lcom/infinario/android/infinariosdk/Infinario;");
            }
            IntPtr native_p1 = JNIEnv.NewString(p1);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);
                global::Com.Infinario.Android.Infinariosdk.Infinario __ret = global::Java.Lang.Object.GetObject <global::Com.Infinario.Android.Infinariosdk.Infinario> (JNIEnv.CallStaticObjectMethod(class_ref, id_getInstance_Landroid_content_Context_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef);
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
            }
        }
Пример #8
0
        public static unsafe global::Com.Infinario.Android.Infinariosdk.Infinario GetInstance(global::Android.Content.Context p0, string p1, global::System.Collections.Generic.IDictionary <string, string> p2)
        {
            if (id_getInstance_Landroid_content_Context_Ljava_lang_String_Ljava_util_Map_ == IntPtr.Zero)
            {
                id_getInstance_Landroid_content_Context_Ljava_lang_String_Ljava_util_Map_ = JNIEnv.GetStaticMethodID(class_ref, "getInstance", "(Landroid/content/Context;Ljava/lang/String;Ljava/util/Map;)Lcom/infinario/android/infinariosdk/Infinario;");
            }
            IntPtr native_p1 = JNIEnv.NewString(p1);
            IntPtr native_p2 = global::Android.Runtime.JavaDictionary <string, string> .ToLocalJniHandle(p2);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);
                __args [2] = new JValue(native_p2);
                global::Com.Infinario.Android.Infinariosdk.Infinario __ret = global::Java.Lang.Object.GetObject <global::Com.Infinario.Android.Infinariosdk.Infinario> (JNIEnv.CallStaticObjectMethod(class_ref, id_getInstance_Landroid_content_Context_Ljava_lang_String_Ljava_util_Map_, __args), JniHandleOwnership.TransferLocalRef);
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
                JNIEnv.DeleteLocalRef(native_p2);
            }
        }
Пример #9
0
 static void n_DisableAutomaticFlushing(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Infinario.Android.Infinariosdk.Infinario __this = global::Java.Lang.Object.GetObject <global::Com.Infinario.Android.Infinariosdk.Infinario> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.DisableAutomaticFlushing();
 }
Пример #10
0
 static void n_ClearStoredData(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Infinario.Android.Infinariosdk.Infinario __this = global::Java.Lang.Object.GetObject <global::Com.Infinario.Android.Infinariosdk.Infinario> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.ClearStoredData();
 }