Exemple #1
0
        public virtual unsafe void SetFrameEncryptor(global::Org.Webrtc.IFrameEncryptor frameEncryptor)
        {
            const string __id = "setFrameEncryptor.(Lorg/webrtc/FrameEncryptor;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((frameEncryptor == null) ? IntPtr.Zero : ((global::Java.Lang.Object)frameEncryptor).Handle);
                _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args);
            } finally {
            }
        }
 static long n_GetNativeFrameEncryptor(IntPtr jnienv, IntPtr native__this)
 {
     global::Org.Webrtc.IFrameEncryptor __this = global::Java.Lang.Object.GetObject <global::Org.Webrtc.IFrameEncryptor> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.NativeFrameEncryptor);
 }
Exemple #3
0
 static void n_SetFrameEncryptor_Lorg_webrtc_FrameEncryptor_(IntPtr jnienv, IntPtr native__this, IntPtr native_frameEncryptor)
 {
     global::Org.Webrtc.RtpSender       __this         = global::Java.Lang.Object.GetObject <global::Org.Webrtc.RtpSender> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Org.Webrtc.IFrameEncryptor frameEncryptor = (global::Org.Webrtc.IFrameEncryptor)global::Java.Lang.Object.GetObject <global::Org.Webrtc.IFrameEncryptor> (native_frameEncryptor, JniHandleOwnership.DoNotTransfer);
     __this.SetFrameEncryptor(frameEncryptor);
 }