static void n_DidDetermineState_Lcom_bluecats_sdk_BCBeacon_BCBeaconState_Lcom_bluecats_sdk_BCBeacon_(IntPtr jnienv, IntPtr native__this, IntPtr native_state, IntPtr native_forBeacon)
 {
     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.BCBeaconBCBeaconState   state  = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.BCBeaconBCBeaconState> (native_state, JniHandleOwnership.DoNotTransfer);
     global::Com.Bluecats.Sdk.IBCBeacon forBeacon            = (global::Com.Bluecats.Sdk.IBCBeacon)global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.IBCBeacon> (native_forBeacon, JniHandleOwnership.DoNotTransfer);
     __this.DidDetermineState(state, forBeacon);
 }
        public virtual unsafe void DidDetermineState(global::Com.Bluecats.Sdk.BCBeaconBCBeaconState state, global::Com.Bluecats.Sdk.IBCBeacon forBeacon)
        {
            if (id_didDetermineState_Lcom_bluecats_sdk_BCBeacon_BCBeaconState_Lcom_bluecats_sdk_BCBeacon_ == IntPtr.Zero)
            {
                id_didDetermineState_Lcom_bluecats_sdk_BCBeacon_BCBeaconState_Lcom_bluecats_sdk_BCBeacon_ = JNIEnv.GetMethodID(class_ref, "didDetermineState", "(Lcom/bluecats/sdk/BCBeacon$BCBeaconState;Lcom/bluecats/sdk/BCBeacon;)V");
            }
            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(state);
                __args [1] = new JValue(forBeacon);

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