static void n_UpdatePageStatus_Ljava_lang_Object_Lcom_ut_mini_UTPageStatus_(IntPtr jnienv, IntPtr native__this, IntPtr native_aPageObject, IntPtr native_aPageStatus) { global::Com.UT.Mini.UTTracker __this = global::Java.Lang.Object.GetObject <global::Com.UT.Mini.UTTracker> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Java.Lang.Object aPageObject = global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (native_aPageObject, JniHandleOwnership.DoNotTransfer); global::Com.UT.Mini.UTPageStatus aPageStatus = global::Java.Lang.Object.GetObject <global::Com.UT.Mini.UTPageStatus> (native_aPageStatus, JniHandleOwnership.DoNotTransfer); __this.UpdatePageStatus(aPageObject, aPageStatus); }
public static unsafe global::Com.UT.Mini.UTPageStatus ValueOf(string name) { if (id_valueOf_Ljava_lang_String_ == IntPtr.Zero) { id_valueOf_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "valueOf", "(Ljava/lang/String;)Lcom/ut/mini/UTPageStatus;"); } IntPtr native_name = JNIEnv.NewString(name); try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(native_name); global::Com.UT.Mini.UTPageStatus __ret = global::Java.Lang.Object.GetObject <global::Com.UT.Mini.UTPageStatus> (JNIEnv.CallStaticObjectMethod(class_ref, id_valueOf_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_name); } }
public virtual unsafe void UpdatePageStatus(global::Java.Lang.Object aPageObject, global::Com.UT.Mini.UTPageStatus aPageStatus) { if (id_updatePageStatus_Ljava_lang_Object_Lcom_ut_mini_UTPageStatus_ == IntPtr.Zero) { id_updatePageStatus_Ljava_lang_Object_Lcom_ut_mini_UTPageStatus_ = JNIEnv.GetMethodID(class_ref, "updatePageStatus", "(Ljava/lang/Object;Lcom/ut/mini/UTPageStatus;)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(aPageObject); __args [1] = new JValue(aPageStatus); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_updatePageStatus_Ljava_lang_Object_Lcom_ut_mini_UTPageStatus_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "updatePageStatus", "(Ljava/lang/Object;Lcom/ut/mini/UTPageStatus;)V"), __args); } } finally { } }