static bool n_Test_Ljava_lang_Object_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Org.Webrtc.IPredicate __this = global::Java.Lang.Object.GetObject <global::Org.Webrtc.IPredicate> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Java.Lang.Object p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (native_p0, JniHandleOwnership.DoNotTransfer); bool __ret = __this.Test(p0); return(__ret); }
public unsafe HardwareVideoDecoderFactory(global::Org.Webrtc.IEglBaseContext sharedContext, global::Org.Webrtc.IPredicate codecAllowedPredicate) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { const string __id = "(Lorg/webrtc/EglBase$Context;Lorg/webrtc/Predicate;)V"; if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } try { JniArgumentValue *__args = stackalloc JniArgumentValue [2]; __args [0] = new JniArgumentValue((sharedContext == null) ? IntPtr.Zero : ((global::Java.Lang.Object)sharedContext).Handle); __args [1] = new JniArgumentValue((codecAllowedPredicate == null) ? IntPtr.Zero : ((global::Java.Lang.Object)codecAllowedPredicate).Handle); var __r = _members.InstanceMethods.StartCreateInstance(__id, ((object)this).GetType(), __args); SetHandle(__r.Handle, JniHandleOwnership.TransferLocalRef); _members.InstanceMethods.FinishCreateInstance(__id, this, __args); } finally { } }