static void n_DidDetermineState_Lcom_bluecats_sdk_BCSite_BCSiteState_Lcom_bluecats_sdk_BCSite_(IntPtr jnienv, IntPtr native__this, IntPtr native_state, IntPtr native_forSite)
 {
     global::Com.Bluecats.Sdk.BCBeaconManagerCallback __this = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.BCBeaconManagerCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Bluecats.Sdk.BCSiteBCSiteState       state  = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.BCSiteBCSiteState> (native_state, JniHandleOwnership.DoNotTransfer);
     global::Com.Bluecats.Sdk.IBCSite forSite = (global::Com.Bluecats.Sdk.IBCSite)global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.IBCSite> (native_forSite, JniHandleOwnership.DoNotTransfer);
     __this.DidDetermineState(state, forSite);
 }
        public virtual unsafe void DidDetermineState(global::Com.Bluecats.Sdk.BCSiteBCSiteState state, global::Com.Bluecats.Sdk.IBCSite forSite)
        {
            if (id_didDetermineState_Lcom_bluecats_sdk_BCSite_BCSiteState_Lcom_bluecats_sdk_BCSite_ == IntPtr.Zero)
            {
                id_didDetermineState_Lcom_bluecats_sdk_BCSite_BCSiteState_Lcom_bluecats_sdk_BCSite_ = JNIEnv.GetMethodID(class_ref, "didDetermineState", "(Lcom/bluecats/sdk/BCSite$BCSiteState;Lcom/bluecats/sdk/BCSite;)V");
            }
            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(state);
                __args [1] = new JValue(forSite);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_didDetermineState_Lcom_bluecats_sdk_BCSite_BCSiteState_Lcom_bluecats_sdk_BCSite_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "didDetermineState", "(Lcom/bluecats/sdk/BCSite$BCSiteState;Lcom/bluecats/sdk/BCSite;)V"), __args);
                }
            } finally {
            }
        }