protected virtual unsafe void OnPostExecute (global::Java.Lang.Void result)
{
if (id_onPostExecute_Ljava_lang_Void_ == IntPtr.Zero)
id_onPostExecute_Ljava_lang_Void_ = JNIEnv.GetMethodID (class_ref, "onPostExecute", "(Ljava/lang/Void;)V");
try {
JValue* __args = stackalloc JValue [1];
__args [0] = new JValue (result);
if (GetType () == ThresholdType)
JNIEnv.CallVoidMethod (Handle, id_onPostExecute_Ljava_lang_Void_, __args);
else
JNIEnv.CallNonvirtualVoidMethod (Handle, ThresholdClass, JNIEnv.GetMethodID (ThresholdClass, "onPostExecute", "(Ljava/lang/Void;)V"), __args);
} finally {
}
}