static void n_OnServiceAdded_ILandroid_bluetooth_BluetoothGattService_ext(IntPtr jnienv, IntPtr native__this, int native_status, IntPtr native_service) { Android.Bluetooth.BluetoothGattServerCallback __this = global::Java.Lang.Object.GetObject <Android.Bluetooth.BluetoothGattServerCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); Android.Bluetooth.ProfileState status = (Android.Bluetooth.ProfileState)native_status; Android.Bluetooth.BluetoothGattService service = global::Java.Lang.Object.GetObject <Android.Bluetooth.BluetoothGattService> (native_service, JniHandleOwnership.DoNotTransfer); __this.ActualOnServiceAdded(status, service); }
internal BluetoothRemoteGATTService(BluetoothDevice device, Android.Bluetooth.BluetoothGattService service) : this(device) { if (service is null) { throw new ArgumentNullException("service"); } _service = service; }
public GattServerService(Guid uuid) { GattCharacteristics = new List <GattServerCharacteristic>(); DroidService = new Android.Bluetooth.BluetoothGattService(Java.Util.UUID.FromString(uuid.ToString()), Android.Bluetooth.GattServiceType.Primary); }