public unsafe void A(global::Anet.Channel.Statist.RequestStatistic p0) { if (id_a_Lanet_channel_statist_RequestStatistic_ == IntPtr.Zero) { id_a_Lanet_channel_statist_RequestStatistic_ = JNIEnv.GetMethodID(class_ref, "a", "(Lanet/channel/statist/RequestStatistic;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_a_Lanet_channel_statist_RequestStatistic_, __args); } finally { } }
public unsafe ExceptionStatistic(int p0, string p1, global::Anet.Channel.Statist.RequestStatistic p2, global::Java.Lang.Throwable p3) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } IntPtr native_p1 = JNIEnv.NewString(p1); try { JValue *__args = stackalloc JValue [4]; __args [0] = new JValue(p0); __args [1] = new JValue(native_p1); __args [2] = new JValue(p2); __args [3] = new JValue(p3); if (((object)this).GetType() != typeof(ExceptionStatistic)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(ILjava/lang/String;Lanet/channel/statist/RequestStatistic;Ljava/lang/Throwable;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(ILjava/lang/String;Lanet/channel/statist/RequestStatistic;Ljava/lang/Throwable;)V", __args); return; } if (id_ctor_ILjava_lang_String_Lanet_channel_statist_RequestStatistic_Ljava_lang_Throwable_ == IntPtr.Zero) { id_ctor_ILjava_lang_String_Lanet_channel_statist_RequestStatistic_Ljava_lang_Throwable_ = JNIEnv.GetMethodID(class_ref, "<init>", "(ILjava/lang/String;Lanet/channel/statist/RequestStatistic;Ljava/lang/Throwable;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_ILjava_lang_String_Lanet_channel_statist_RequestStatistic_Ljava_lang_Throwable_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_ILjava_lang_String_Lanet_channel_statist_RequestStatistic_Ljava_lang_Throwable_, __args); } finally { JNIEnv.DeleteLocalRef(native_p1); } }