Пример #1
0
 static void n_OnBleScan_Lcom_thalmic_myo_internal_ble_Address_ILjava_util_UUID_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1, IntPtr native_p2)
 {
     global::Com.Thalmic.Myo.Internal.Ble.IBleManagerBleScanCallback __this = global::Java.Lang.Object.GetObject <global::Com.Thalmic.Myo.Internal.Ble.IBleManagerBleScanCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Thalmic.Myo.Internal.Ble.Address p0 = global::Java.Lang.Object.GetObject <global::Com.Thalmic.Myo.Internal.Ble.Address> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Java.Util.UUID p2 = global::Java.Lang.Object.GetObject <global::Java.Util.UUID> (native_p2, JniHandleOwnership.DoNotTransfer);
     __this.OnBleScan(p0, p1, p2);
 }
Пример #2
0
 public void StopBleScan(global::Com.Thalmic.Myo.Internal.Ble.IBleManagerBleScanCallback p0)
 {
     if (id_stopBleScan_Lcom_thalmic_myo_internal_ble_BleManager_BleScanCallback_ == IntPtr.Zero)
     {
         id_stopBleScan_Lcom_thalmic_myo_internal_ble_BleManager_BleScanCallback_ = JNIEnv.GetMethodID(class_ref, "stopBleScan", "(Lcom/thalmic/myo/internal/ble/BleManager$BleScanCallback;)V");
     }
     JNIEnv.CallVoidMethod(Handle, id_stopBleScan_Lcom_thalmic_myo_internal_ble_BleManager_BleScanCallback_, new JValue(p0));
 }
Пример #3
0
        static bool n_StartBleScan_Lcom_thalmic_myo_internal_ble_BleManager_BleScanCallback_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Thalmic.Myo.Internal.Ble.IBleManager __this            = global::Java.Lang.Object.GetObject <global::Com.Thalmic.Myo.Internal.Ble.IBleManager> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Thalmic.Myo.Internal.Ble.IBleManagerBleScanCallback p0 = (global::Com.Thalmic.Myo.Internal.Ble.IBleManagerBleScanCallback)global::Java.Lang.Object.GetObject <global::Com.Thalmic.Myo.Internal.Ble.IBleManagerBleScanCallback> (native_p0, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.StartBleScan(p0);

            return(__ret);
        }
Пример #4
0
        public bool StartBleScan(global::Com.Thalmic.Myo.Internal.Ble.IBleManagerBleScanCallback p0)
        {
            if (id_startBleScan_Lcom_thalmic_myo_internal_ble_BleManager_BleScanCallback_ == IntPtr.Zero)
            {
                id_startBleScan_Lcom_thalmic_myo_internal_ble_BleManager_BleScanCallback_ = JNIEnv.GetMethodID(class_ref, "startBleScan", "(Lcom/thalmic/myo/internal/ble/BleManager$BleScanCallback;)Z");
            }
            bool __ret = JNIEnv.CallBooleanMethod(Handle, id_startBleScan_Lcom_thalmic_myo_internal_ble_BleManager_BleScanCallback_, new JValue(p0));

            return(__ret);
        }