public unsafe global::Com.Qcl.VH.A.C.ˮ͍ 鷭(global::Android.Bluetooth.BluetoothSocket p0, byte[] p1, string p2) { if (id_鷭_Landroid_bluetooth_BluetoothSocket_arrayBLjava_lang_String_ == IntPtr.Zero) { id_鷭_Landroid_bluetooth_BluetoothSocket_arrayBLjava_lang_String_ = JNIEnv.GetMethodID(class_ref, "鷭", "(Landroid/bluetooth/BluetoothSocket;[BLjava/lang/String;)Lcom/qcl/vh/a/c/ˮ͍;"); } IntPtr native_p1 = JNIEnv.NewArray(p1); IntPtr native_p2 = JNIEnv.NewString(p2); try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(p0); __args [1] = new JValue(native_p1); __args [2] = new JValue(native_p2); global::Com.Qcl.VH.A.C.ˮ͍ __ret = global::Java.Lang.Object.GetObject <global::Com.Qcl.VH.A.C.ˮ͍> (JNIEnv.CallObjectMethod(Handle, id_鷭_Landroid_bluetooth_BluetoothSocket_arrayBLjava_lang_String_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { if (p1 != null) { JNIEnv.CopyArray(native_p1, p1); JNIEnv.DeleteLocalRef(native_p1); } JNIEnv.DeleteLocalRef(native_p2); } }
static IntPtr n_鷭_Landroid_bluetooth_BluetoothSocket_ZZ(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, bool p1, bool p2) { global::Com.Qcl.VH.Content.IDeviceAdapter __this = global::Java.Lang.Object.GetObject <global::Com.Qcl.VH.Content.IDeviceAdapter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Bluetooth.BluetoothSocket p0 = global::Java.Lang.Object.GetObject <global::Android.Bluetooth.BluetoothSocket> (native_p0, JniHandleOwnership.DoNotTransfer); IntPtr __ret = global::Android.Runtime.JavaList <global::Com.Qcl.VH.Content.ˮ͈> .ToLocalJniHandle(__this.鷭(p0, p1, p2)); return(__ret); }
static bool n_鷭_Landroid_bluetooth_BluetoothSocket_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Qcl.VH.Content.IDeviceAdapter __this = global::Java.Lang.Object.GetObject <global::Com.Qcl.VH.Content.IDeviceAdapter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Bluetooth.BluetoothSocket p0 = global::Java.Lang.Object.GetObject <global::Android.Bluetooth.BluetoothSocket> (native_p0, JniHandleOwnership.DoNotTransfer); bool __ret = __this.鷭(p0); return(__ret); }
public unsafe void 櫯(global::Android.Bluetooth.BluetoothSocket p0) { if (id_櫯_Landroid_bluetooth_BluetoothSocket_ == IntPtr.Zero) { id_櫯_Landroid_bluetooth_BluetoothSocket_ = JNIEnv.GetMethodID(class_ref, "櫯", "(Landroid/bluetooth/BluetoothSocket;)V"); } JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); JNIEnv.CallVoidMethod(Handle, id_櫯_Landroid_bluetooth_BluetoothSocket_, __args); }
public unsafe bool 鷭(global::Android.Bluetooth.BluetoothSocket p0) { if (id_鷭_Landroid_bluetooth_BluetoothSocket_ == IntPtr.Zero) { id_鷭_Landroid_bluetooth_BluetoothSocket_ = JNIEnv.GetMethodID(class_ref, "鷭", "(Landroid/bluetooth/BluetoothSocket;)Z"); } JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); bool __ret = JNIEnv.CallBooleanMethod(Handle, id_鷭_Landroid_bluetooth_BluetoothSocket_, __args); return(__ret); }
static IntPtr n_鷭_Landroid_bluetooth_BluetoothSocket_arrayBLjava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2) { global::Com.Qcl.VH.MD.Propellerhealth.PropellerGenericGattClient __this = global::Java.Lang.Object.GetObject <global::Com.Qcl.VH.MD.Propellerhealth.PropellerGenericGattClient> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Bluetooth.BluetoothSocket p0 = global::Java.Lang.Object.GetObject <global::Android.Bluetooth.BluetoothSocket> (native_p0, JniHandleOwnership.DoNotTransfer); byte[] p1 = (byte[])JNIEnv.GetArray(native_p1, JniHandleOwnership.DoNotTransfer, typeof(byte)); string p2 = JNIEnv.GetString(native_p2, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.鷭(p0, p1, p2)); if (p1 != null) { JNIEnv.CopyArray(p1, native_p1); } return(__ret); }
public DeviceSession(global::Orbotix.Robot.Base.DeviceConnection __self, global::Android.Bluetooth.BluetoothSocket p1) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (Handle != IntPtr.Zero) { return; } if (GetType() != typeof(DeviceSession)) { SetHandle(global::Android.Runtime.JNIEnv.CreateInstance(GetType(), "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";Landroid/bluetooth/BluetoothSocket;)V", new JValue(__self), new JValue(p1)), JniHandleOwnership.TransferLocalRef); return; } if (id_ctor_Lorbotix_robot_base_DeviceConnection_Landroid_bluetooth_BluetoothSocket_ == IntPtr.Zero) { id_ctor_Lorbotix_robot_base_DeviceConnection_Landroid_bluetooth_BluetoothSocket_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lorbotix/robot/base/DeviceConnection;Landroid/bluetooth/BluetoothSocket;)V"); } SetHandle(JNIEnv.NewObject(class_ref, id_ctor_Lorbotix_robot_base_DeviceConnection_Landroid_bluetooth_BluetoothSocket_, new JValue(__self), new JValue(p1)), JniHandleOwnership.TransferLocalRef); }
public unsafe global::System.Collections.Generic.IList <global::Com.Qcl.VH.Content.ˮ͈> 鷭(global::Android.Bluetooth.BluetoothSocket p0, bool p1, bool p2) { if (id_鷭_Landroid_bluetooth_BluetoothSocket_ZZ == IntPtr.Zero) { id_鷭_Landroid_bluetooth_BluetoothSocket_ZZ = JNIEnv.GetMethodID(class_ref, "鷭", "(Landroid/bluetooth/BluetoothSocket;ZZ)Ljava/util/List;"); } try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); global::System.Collections.Generic.IList <global::Com.Qcl.VH.Content.ˮ͈> __ret = global::Android.Runtime.JavaList <global::Com.Qcl.VH.Content.ˮ͈> .FromJniHandle(JNIEnv.CallObjectMethod(Handle, id_鷭_Landroid_bluetooth_BluetoothSocket_ZZ, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { } }