public unsafe SqliteDatabaseDriver(global::Android.Content.Context p0, global::Com.Facebook.Stetho.Inspector.Database.IDatabaseFilesProvider p1, global::Com.Facebook.Stetho.Inspector.Database.IDatabaseConnectionProvider p2) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); if (GetType() != typeof(SqliteDatabaseDriver)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Landroid/content/Context;Lcom/facebook/stetho/inspector/database/DatabaseFilesProvider;Lcom/facebook/stetho/inspector/database/DatabaseConnectionProvider;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Landroid/content/Context;Lcom/facebook/stetho/inspector/database/DatabaseFilesProvider;Lcom/facebook/stetho/inspector/database/DatabaseConnectionProvider;)V", __args); return; } if (id_ctor_Landroid_content_Context_Lcom_facebook_stetho_inspector_database_DatabaseFilesProvider_Lcom_facebook_stetho_inspector_database_DatabaseConnectionProvider_ == IntPtr.Zero) { id_ctor_Landroid_content_Context_Lcom_facebook_stetho_inspector_database_DatabaseFilesProvider_Lcom_facebook_stetho_inspector_database_DatabaseConnectionProvider_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/content/Context;Lcom/facebook/stetho/inspector/database/DatabaseFilesProvider;Lcom/facebook/stetho/inspector/database/DatabaseConnectionProvider;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_content_Context_Lcom_facebook_stetho_inspector_database_DatabaseFilesProvider_Lcom_facebook_stetho_inspector_database_DatabaseConnectionProvider_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Landroid_content_Context_Lcom_facebook_stetho_inspector_database_DatabaseFilesProvider_Lcom_facebook_stetho_inspector_database_DatabaseConnectionProvider_, __args); } finally { } }
static IntPtr n_OpenDatabase_Ljava_io_File_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Facebook.Stetho.Inspector.Database.IDatabaseConnectionProvider __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Inspector.Database.IDatabaseConnectionProvider> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Java.IO.File p0 = global::Java.Lang.Object.GetObject <global::Java.IO.File> (native_p0, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.OpenDatabase(p0)); return(__ret); }