public virtual unsafe void StopMonitoringBeaconRegion(global::Com.Bluecats.Sdk.BCBeaconRegion beaconRegion) { if (id_stopMonitoringBeaconRegion_Lcom_bluecats_sdk_BCBeaconRegion_ == IntPtr.Zero) { id_stopMonitoringBeaconRegion_Lcom_bluecats_sdk_BCBeaconRegion_ = JNIEnv.GetMethodID(class_ref, "stopMonitoringBeaconRegion", "(Lcom/bluecats/sdk/BCBeaconRegion;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(beaconRegion); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_stopMonitoringBeaconRegion_Lcom_bluecats_sdk_BCBeaconRegion_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "stopMonitoringBeaconRegion", "(Lcom/bluecats/sdk/BCBeaconRegion;)V"), __args); } } finally { } }
static void n_StopMonitoringBeaconRegion_Lcom_bluecats_sdk_BCBeaconRegion_(IntPtr jnienv, IntPtr native__this, IntPtr native_beaconRegion) { global::Com.Bluecats.Sdk.BCBeaconManager __this = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.BCBeaconManager> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Bluecats.Sdk.BCBeaconRegion beaconRegion = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.BCBeaconRegion> (native_beaconRegion, JniHandleOwnership.DoNotTransfer); __this.StopMonitoringBeaconRegion(beaconRegion); }