public virtual void RemoveLifeCycleListener(global::Com.Android.Camera.MonitoredActivity.ILifeCycleListener p0) { if (id_removeLifeCycleListener_Lcom_android_camera_MonitoredActivity_LifeCycleListener_ == IntPtr.Zero) { id_removeLifeCycleListener_Lcom_android_camera_MonitoredActivity_LifeCycleListener_ = JNIEnv.GetMethodID(class_ref, "removeLifeCycleListener", "(Lcom/android/camera/MonitoredActivity$LifeCycleListener;)V"); } if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(Handle, id_removeLifeCycleListener_Lcom_android_camera_MonitoredActivity_LifeCycleListener_, new JValue(p0)); } else { JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "removeLifeCycleListener", "(Lcom/android/camera/MonitoredActivity$LifeCycleListener;)V"), new JValue(p0)); } }
static void n_RemoveLifeCycleListener_Lcom_android_camera_MonitoredActivity_LifeCycleListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Android.Camera.MonitoredActivity __this = global::Java.Lang.Object.GetObject <global::Com.Android.Camera.MonitoredActivity> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Android.Camera.MonitoredActivity.ILifeCycleListener p0 = (global::Com.Android.Camera.MonitoredActivity.ILifeCycleListener)global::Java.Lang.Object.GetObject <global::Com.Android.Camera.MonitoredActivity.ILifeCycleListener> (native_p0, JniHandleOwnership.DoNotTransfer); __this.RemoveLifeCycleListener(p0); }