public virtual void OnCharacteristicChanged(global::Com.Thalmic.Myo.Internal.Ble.Address p0, global::Java.Util.UUID p1, byte[] p2) { if (id_onCharacteristicChanged_Lcom_thalmic_myo_internal_ble_Address_Ljava_util_UUID_arrayB == IntPtr.Zero) { id_onCharacteristicChanged_Lcom_thalmic_myo_internal_ble_Address_Ljava_util_UUID_arrayB = JNIEnv.GetMethodID(class_ref, "onCharacteristicChanged", "(Lcom/thalmic/myo/internal/ble/Address;Ljava/util/UUID;[B)V"); } IntPtr native_p2 = JNIEnv.NewArray(p2); try { if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(Handle, id_onCharacteristicChanged_Lcom_thalmic_myo_internal_ble_Address_Ljava_util_UUID_arrayB, new JValue(p0), new JValue(p1), new JValue(native_p2)); } else { JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onCharacteristicChanged", "(Lcom/thalmic/myo/internal/ble/Address;Ljava/util/UUID;[B)V"), new JValue(p0), new JValue(p1), new JValue(native_p2)); } } finally { if (p2 != null) { JNIEnv.CopyArray(native_p2, p2); JNIEnv.DeleteLocalRef(native_p2); } } }
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); }
static void n_OnCharacteristicWrite_Lcom_thalmic_myo_internal_ble_Address_Ljava_util_UUID_Z(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, bool p2) { global::Com.Thalmic.Myo.Internal.Ble.BleGattCallback __this = global::Java.Lang.Object.GetObject <global::Com.Thalmic.Myo.Internal.Ble.BleGattCallback> (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 p1 = global::Java.Lang.Object.GetObject <global::Java.Util.UUID> (native_p1, JniHandleOwnership.DoNotTransfer); __this.OnCharacteristicWrite(p0, p1, p2); }
public void OnBleScan(global::Com.Thalmic.Myo.Internal.Ble.Address p0, int p1, global::Java.Util.UUID p2) { if (id_onBleScan_Lcom_thalmic_myo_internal_ble_Address_ILjava_util_UUID_ == IntPtr.Zero) { id_onBleScan_Lcom_thalmic_myo_internal_ble_Address_ILjava_util_UUID_ = JNIEnv.GetMethodID(class_ref, "onBleScan", "(Lcom/thalmic/myo/internal/ble/Address;ILjava/util/UUID;)V"); } JNIEnv.CallVoidMethod(Handle, id_onBleScan_Lcom_thalmic_myo_internal_ble_Address_ILjava_util_UUID_, new JValue(p0), new JValue(p1), new JValue(p2)); }
static void n_OnCharacteristicChanged_Lcom_thalmic_myo_internal_ble_Address_Ljava_util_UUID_arrayB(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2) { global::Com.Thalmic.Myo.Internal.Ble.BleGattCallback __this = global::Java.Lang.Object.GetObject <global::Com.Thalmic.Myo.Internal.Ble.BleGattCallback> (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 p1 = global::Java.Lang.Object.GetObject <global::Java.Util.UUID> (native_p1, JniHandleOwnership.DoNotTransfer); byte[] p2 = (byte[])JNIEnv.GetArray(native_p2, JniHandleOwnership.DoNotTransfer, typeof(byte)); __this.OnCharacteristicChanged(p0, p1, p2); if (p2 != null) { JNIEnv.CopyArray(p2, native_p2); } }
public virtual void OnServicesDiscovered(global::Com.Thalmic.Myo.Internal.Ble.Address p0, bool p1) { if (id_onServicesDiscovered_Lcom_thalmic_myo_internal_ble_Address_Z == IntPtr.Zero) { id_onServicesDiscovered_Lcom_thalmic_myo_internal_ble_Address_Z = JNIEnv.GetMethodID(class_ref, "onServicesDiscovered", "(Lcom/thalmic/myo/internal/ble/Address;Z)V"); } try { if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(Handle, id_onServicesDiscovered_Lcom_thalmic_myo_internal_ble_Address_Z, new JValue(p0), new JValue(p1)); } else { JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onServicesDiscovered", "(Lcom/thalmic/myo/internal/ble/Address;Z)V"), new JValue(p0), new JValue(p1)); } } finally { } }
public virtual void OnReadRemoteRssi(global::Com.Thalmic.Myo.Internal.Ble.Address p0, int p1, bool p2) { if (id_onReadRemoteRssi_Lcom_thalmic_myo_internal_ble_Address_IZ == IntPtr.Zero) { id_onReadRemoteRssi_Lcom_thalmic_myo_internal_ble_Address_IZ = JNIEnv.GetMethodID(class_ref, "onReadRemoteRssi", "(Lcom/thalmic/myo/internal/ble/Address;IZ)V"); } try { if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(Handle, id_onReadRemoteRssi_Lcom_thalmic_myo_internal_ble_Address_IZ, new JValue(p0), new JValue(p1), new JValue(p2)); } else { JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onReadRemoteRssi", "(Lcom/thalmic/myo/internal/ble/Address;IZ)V"), new JValue(p0), new JValue(p1), new JValue(p2)); } } finally { } }
public virtual void OnDeviceConnectionFailed(global::Com.Thalmic.Myo.Internal.Ble.Address p0) { if (id_onDeviceConnectionFailed_Lcom_thalmic_myo_internal_ble_Address_ == IntPtr.Zero) { id_onDeviceConnectionFailed_Lcom_thalmic_myo_internal_ble_Address_ = JNIEnv.GetMethodID(class_ref, "onDeviceConnectionFailed", "(Lcom/thalmic/myo/internal/ble/Address;)V"); } try { if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(Handle, id_onDeviceConnectionFailed_Lcom_thalmic_myo_internal_ble_Address_, new JValue(p0)); } else { JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onDeviceConnectionFailed", "(Lcom/thalmic/myo/internal/ble/Address;)V"), new JValue(p0)); } } finally { } }
public virtual void OnCharacteristicWrite(global::Com.Thalmic.Myo.Internal.Ble.Address p0, global::Java.Util.UUID p1, bool p2) { if (id_onCharacteristicWrite_Lcom_thalmic_myo_internal_ble_Address_Ljava_util_UUID_Z == IntPtr.Zero) { id_onCharacteristicWrite_Lcom_thalmic_myo_internal_ble_Address_Ljava_util_UUID_Z = JNIEnv.GetMethodID(class_ref, "onCharacteristicWrite", "(Lcom/thalmic/myo/internal/ble/Address;Ljava/util/UUID;Z)V"); } try { if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(Handle, id_onCharacteristicWrite_Lcom_thalmic_myo_internal_ble_Address_Ljava_util_UUID_Z, new JValue(p0), new JValue(p1), new JValue(p2)); } else { JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onCharacteristicWrite", "(Lcom/thalmic/myo/internal/ble/Address;Ljava/util/UUID;Z)V"), new JValue(p0), new JValue(p1), new JValue(p2)); } } finally { } }
static void n_OnServicesDiscovered_Lcom_thalmic_myo_internal_ble_Address_Z(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, bool p1) { global::Com.Thalmic.Myo.Internal.Ble.BleGattCallback __this = global::Java.Lang.Object.GetObject <global::Com.Thalmic.Myo.Internal.Ble.BleGattCallback> (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); __this.OnServicesDiscovered(p0, p1); }
static void n_OnReadRemoteRssi_Lcom_thalmic_myo_internal_ble_Address_IZ(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1, bool p2) { global::Com.Thalmic.Myo.Internal.Ble.BleGattCallback __this = global::Java.Lang.Object.GetObject <global::Com.Thalmic.Myo.Internal.Ble.BleGattCallback> (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); __this.OnReadRemoteRssi(p0, p1, p2); }
static void n_OnDeviceConnectionFailed_Lcom_thalmic_myo_internal_ble_Address_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Thalmic.Myo.Internal.Ble.BleGattCallback __this = global::Java.Lang.Object.GetObject <global::Com.Thalmic.Myo.Internal.Ble.BleGattCallback> (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); __this.OnDeviceConnectionFailed(p0); }