public global::Org.Vudroid.Core.Codec.ICodecDocument OpenDocument(string p0) { if (id_openDocument_Ljava_lang_String_ == IntPtr.Zero) { id_openDocument_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "openDocument", "(Ljava/lang/String;)Lorg/vudroid/core/codec/CodecDocument;"); } IntPtr native_p0 = JNIEnv.NewString(p0); global::Org.Vudroid.Core.Codec.ICodecDocument __ret = global::Java.Lang.Object.GetObject <global::Org.Vudroid.Core.Codec.ICodecDocument> (JNIEnv.CallObjectMethod(Handle, id_openDocument_Ljava_lang_String_, new JValue(native_p0)), JniHandleOwnership.TransferLocalRef); JNIEnv.DeleteLocalRef(native_p0); return(__ret); }
static void n_Recycle(IntPtr jnienv, IntPtr native__this) { global::Org.Vudroid.Core.Codec.ICodecDocument __this = global::Java.Lang.Object.GetObject <global::Org.Vudroid.Core.Codec.ICodecDocument> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.Recycle(); }
static int n_GetPageCount(IntPtr jnienv, IntPtr native__this) { global::Org.Vudroid.Core.Codec.ICodecDocument __this = global::Java.Lang.Object.GetObject <global::Org.Vudroid.Core.Codec.ICodecDocument> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.PageCount); }
static IntPtr n_GetPage_I(IntPtr jnienv, IntPtr native__this, int p0) { global::Org.Vudroid.Core.Codec.ICodecDocument __this = global::Java.Lang.Object.GetObject <global::Org.Vudroid.Core.Codec.ICodecDocument> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.GetPage(p0))); }