public unsafe DefaultHttpDataSource(string p0, global::Com.Google.Android.Exoplayer.Util.IPredicate p1) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } IntPtr native_p0 = JNIEnv.NewString(p0); try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(native_p0); __args [1] = new JValue(p1); if (GetType() != typeof(DefaultHttpDataSource)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Ljava/lang/String;Lcom/google/android/exoplayer/util/Predicate;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Ljava/lang/String;Lcom/google/android/exoplayer/util/Predicate;)V", __args); return; } if (id_ctor_Ljava_lang_String_Lcom_google_android_exoplayer_util_Predicate_ == IntPtr.Zero) { id_ctor_Ljava_lang_String_Lcom_google_android_exoplayer_util_Predicate_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/lang/String;Lcom/google/android/exoplayer/util/Predicate;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_lang_String_Lcom_google_android_exoplayer_util_Predicate_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Ljava_lang_String_Lcom_google_android_exoplayer_util_Predicate_, __args); } finally { JNIEnv.DeleteLocalRef(native_p0); } }
static bool n_Evaluate_Ljava_lang_Object_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Google.Android.Exoplayer.Util.IPredicate __this = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Util.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.Evaluate(p0); return(__ret); }