static IntPtr n_SetSSLCertificateVerifier_Lorg_webrtc_SSLCertificateVerifier_(IntPtr jnienv, IntPtr native__this, IntPtr native_sslCertificateVerifier)
            {
                global::Org.Webrtc.PeerConnectionDependencies.Builder __this = global::Java.Lang.Object.GetObject <global::Org.Webrtc.PeerConnectionDependencies.Builder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
                global::Org.Webrtc.ISSLCertificateVerifier            sslCertificateVerifier = (global::Org.Webrtc.ISSLCertificateVerifier)global::Java.Lang.Object.GetObject <global::Org.Webrtc.ISSLCertificateVerifier> (native_sslCertificateVerifier, JniHandleOwnership.DoNotTransfer);
                IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.SetSSLCertificateVerifier(sslCertificateVerifier));

                return(__ret);
            }
コード例 #2
0
        static bool n_Verify_arrayB(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Org.Webrtc.ISSLCertificateVerifier __this = global::Java.Lang.Object.GetObject <global::Org.Webrtc.ISSLCertificateVerifier> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            byte[] p0    = (byte[])JNIEnv.GetArray(native_p0, JniHandleOwnership.DoNotTransfer, typeof(byte));
            bool   __ret = __this.Verify(p0);

            if (p0 != null)
            {
                JNIEnv.CopyArray(p0, native_p0);
            }
            return(__ret);
        }
            public virtual unsafe global::Org.Webrtc.PeerConnectionDependencies.Builder SetSSLCertificateVerifier(global::Org.Webrtc.ISSLCertificateVerifier sslCertificateVerifier)
            {
                const string __id = "setSSLCertificateVerifier.(Lorg/webrtc/SSLCertificateVerifier;)Lorg/webrtc/PeerConnectionDependencies$Builder;";

                try {
                    JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                    __args [0] = new JniArgumentValue((sslCertificateVerifier == null) ? IntPtr.Zero : ((global::Java.Lang.Object)sslCertificateVerifier).Handle);
                    var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args);
                    return(global::Java.Lang.Object.GetObject <global::Org.Webrtc.PeerConnectionDependencies.Builder> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
                } finally {
                }
            }