Exemplo n.º 1
0
        static IntPtr n_CreateWebSocket_Lcom_clevertap_android_sdk_java_websocket_WebSocketAdapter_Lcom_clevertap_android_sdk_java_websocket_drafts_Draft_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Com.Clevertap.Android.Sdk.Java_websocket.IWebSocketFactory __this = global::Java.Lang.Object.GetObject <global::Com.Clevertap.Android.Sdk.Java_websocket.IWebSocketFactory> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Clevertap.Android.Sdk.Java_websocket.WebSocketAdapter  p0     = global::Java.Lang.Object.GetObject <global::Com.Clevertap.Android.Sdk.Java_websocket.WebSocketAdapter> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::Com.Clevertap.Android.Sdk.Java_websocket.Drafts.Draft      p1     = global::Java.Lang.Object.GetObject <global::Com.Clevertap.Android.Sdk.Java_websocket.Drafts.Draft> (native_p1, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.CreateWebSocket(p0, p1));

            return(__ret);
        }
Exemplo n.º 2
0
        public unsafe global::Com.Clevertap.Android.Sdk.Java_websocket.IWebSocket CreateWebSocket(global::Com.Clevertap.Android.Sdk.Java_websocket.WebSocketAdapter p0, global::Com.Clevertap.Android.Sdk.Java_websocket.Drafts.Draft p1)
        {
            if (id_createWebSocket_Lcom_clevertap_android_sdk_java_websocket_WebSocketAdapter_Lcom_clevertap_android_sdk_java_websocket_drafts_Draft_ == IntPtr.Zero)
            {
                id_createWebSocket_Lcom_clevertap_android_sdk_java_websocket_WebSocketAdapter_Lcom_clevertap_android_sdk_java_websocket_drafts_Draft_ = JNIEnv.GetMethodID(class_ref, "createWebSocket", "(Lcom/clevertap/android/sdk/java_websocket/WebSocketAdapter;Lcom/clevertap/android/sdk/java_websocket/drafts/Draft;)Lcom/clevertap/android/sdk/java_websocket/WebSocket;");
            }
            JValue *__args = stackalloc JValue [2];

            __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
            __args [1] = new JValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle);
            global::Com.Clevertap.Android.Sdk.Java_websocket.IWebSocket __ret = global::Java.Lang.Object.GetObject <global::Com.Clevertap.Android.Sdk.Java_websocket.IWebSocket> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_createWebSocket_Lcom_clevertap_android_sdk_java_websocket_WebSocketAdapter_Lcom_clevertap_android_sdk_java_websocket_drafts_Draft_, __args), JniHandleOwnership.TransferLocalRef);
            return(__ret);
        }
Exemplo n.º 3
0
        public unsafe global::Com.Clevertap.Android.Sdk.Java_websocket.IWebSocket CreateWebSocket(global::Com.Clevertap.Android.Sdk.Java_websocket.WebSocketAdapter p0, global::System.Collections.Generic.IList <global::Com.Clevertap.Android.Sdk.Java_websocket.Drafts.Draft> p1)
        {
            if (id_createWebSocket_Lcom_clevertap_android_sdk_java_websocket_WebSocketAdapter_Ljava_util_List_ == IntPtr.Zero)
            {
                id_createWebSocket_Lcom_clevertap_android_sdk_java_websocket_WebSocketAdapter_Ljava_util_List_ = JNIEnv.GetMethodID(class_ref, "createWebSocket", "(Lcom/clevertap/android/sdk/java_websocket/WebSocketAdapter;Ljava/util/List;)Lcom/clevertap/android/sdk/java_websocket/WebSocket;");
            }
            IntPtr native_p1 = global::Android.Runtime.JavaList <global::Com.Clevertap.Android.Sdk.Java_websocket.Drafts.Draft> .ToLocalJniHandle(p1);

            JValue *__args = stackalloc JValue [2];

            __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
            __args [1] = new JValue(native_p1);
            global::Com.Clevertap.Android.Sdk.Java_websocket.IWebSocket __ret = global::Java.Lang.Object.GetObject <global::Com.Clevertap.Android.Sdk.Java_websocket.IWebSocket> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_createWebSocket_Lcom_clevertap_android_sdk_java_websocket_WebSocketAdapter_Ljava_util_List_, __args), JniHandleOwnership.TransferLocalRef);
            JNIEnv.DeleteLocalRef(native_p1);
            return(__ret);
        }