static void n_WillSuspendMonitoringInSite_Lcom_bluecats_sdk_BCSite_Ljava_util_Date_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::Com.Bluecats.Sdk.IBCZoneMonitorCallback __this = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.IBCZoneMonitorCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Bluecats.Sdk.IBCSite p0 = (global::Com.Bluecats.Sdk.IBCSite)global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.IBCSite> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Java.Util.Date           p1 = global::Java.Lang.Object.GetObject <global::Java.Util.Date> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.WillSuspendMonitoringInSite(p0, p1);
 }
 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);
 }
Example #3
0
        static void n_OnDidRangeBeaconsForSiteID_Lcom_bluecats_sdk_BCSite_Ljava_util_List_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Com.Bluecats.Sdk.IBCMicroLocationManagerCallback __this = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.IBCMicroLocationManagerCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Bluecats.Sdk.IBCSite p0 = (global::Com.Bluecats.Sdk.IBCSite)global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.IBCSite> (native_p0, JniHandleOwnership.DoNotTransfer);
            var p1 = global::Android.Runtime.JavaList <global::Com.Bluecats.Sdk.IBCBeacon> .FromJniHandle(native_p1, JniHandleOwnership.DoNotTransfer);

            __this.OnDidRangeBeaconsForSiteID(p0, p1);
        }
Example #4
0
        public unsafe void OnDidExitSite(global::Com.Bluecats.Sdk.IBCSite p0)
        {
            if (id_onDidExitSite_Lcom_bluecats_sdk_BCSite_ == IntPtr.Zero)
            {
                id_onDidExitSite_Lcom_bluecats_sdk_BCSite_ = JNIEnv.GetMethodID(class_ref, "onDidExitSite", "(Lcom/bluecats/sdk/BCSite;)V");
            }
            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue(p0);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onDidExitSite_Lcom_bluecats_sdk_BCSite_, __args);
        }
        public unsafe void WillSuspendMonitoringInSite(global::Com.Bluecats.Sdk.IBCSite p0, global::Java.Util.Date p1)
        {
            if (id_willSuspendMonitoringInSite_Lcom_bluecats_sdk_BCSite_Ljava_util_Date_ == IntPtr.Zero)
            {
                id_willSuspendMonitoringInSite_Lcom_bluecats_sdk_BCSite_Ljava_util_Date_ = JNIEnv.GetMethodID(class_ref, "willSuspendMonitoringInSite", "(Lcom/bluecats/sdk/BCSite;Ljava/util/Date;)V");
            }
            JValue *__args = stackalloc JValue [2];

            __args [0] = new JValue(p0);
            __args [1] = new JValue(p1);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_willSuspendMonitoringInSite_Lcom_bluecats_sdk_BCSite_Ljava_util_Date_, __args);
        }
Example #6
0
        public unsafe void OnDidRangeBeaconsForSiteID(global::Com.Bluecats.Sdk.IBCSite p0, global::System.Collections.Generic.IList <global::Com.Bluecats.Sdk.IBCBeacon> p1)
        {
            if (id_onDidRangeBeaconsForSiteID_Lcom_bluecats_sdk_BCSite_Ljava_util_List_ == IntPtr.Zero)
            {
                id_onDidRangeBeaconsForSiteID_Lcom_bluecats_sdk_BCSite_Ljava_util_List_ = JNIEnv.GetMethodID(class_ref, "onDidRangeBeaconsForSiteID", "(Lcom/bluecats/sdk/BCSite;Ljava/util/List;)V");
            }
            IntPtr native_p1 = global::Android.Runtime.JavaList <global::Com.Bluecats.Sdk.IBCBeacon> .ToLocalJniHandle(p1);

            JValue *__args = stackalloc JValue [2];

            __args [0] = new JValue(p0);
            __args [1] = new JValue(native_p1);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onDidRangeBeaconsForSiteID_Lcom_bluecats_sdk_BCSite_Ljava_util_List_, __args);
            JNIEnv.DeleteLocalRef(native_p1);
        }
        public virtual unsafe void RequestStateForSite(global::Com.Bluecats.Sdk.IBCSite site)
        {
            if (id_requestStateForSite_Lcom_bluecats_sdk_BCSite_ == IntPtr.Zero)
            {
                id_requestStateForSite_Lcom_bluecats_sdk_BCSite_ = JNIEnv.GetMethodID(class_ref, "requestStateForSite", "(Lcom/bluecats/sdk/BCSite;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(site);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_requestStateForSite_Lcom_bluecats_sdk_BCSite_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "requestStateForSite", "(Lcom/bluecats/sdk/BCSite;)V"), __args);
                }
            } finally {
            }
        }
 static void n_RequestStateForSite_Lcom_bluecats_sdk_BCSite_(IntPtr jnienv, IntPtr native__this, IntPtr native_site)
 {
     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.IBCSite         site   = (global::Com.Bluecats.Sdk.IBCSite)global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.IBCSite> (native_site, JniHandleOwnership.DoNotTransfer);
     __this.RequestStateForSite(site);
 }
Example #9
0
 static void n_OnDidExitSite_Lcom_bluecats_sdk_BCSite_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Bluecats.Sdk.IBCMicroLocationManagerCallback __this = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.IBCMicroLocationManagerCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Bluecats.Sdk.IBCSite p0 = (global::Com.Bluecats.Sdk.IBCSite)global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.IBCSite> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnDidExitSite(p0);
 }
 static void n_DidEnterSite_Lcom_bluecats_sdk_BCSite_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Bluecats.Sdk.IBCZoneMonitorCallback __this = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.IBCZoneMonitorCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Bluecats.Sdk.IBCSite p0 = (global::Com.Bluecats.Sdk.IBCSite)global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.IBCSite> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.DidEnterSite(p0);
 }