예제 #1
0
 public Api21BleScanCallback(Adapter adapter)
 {
     _adapter = adapter;
 }
예제 #2
0
 public GattCallback(Adapter adapter)
 {
     _adapter = adapter;
 }
예제 #3
0
 public GattCallback(Adapter adapter, Device device)
 {
     _adapter = adapter;
     _device  = device;
 }
예제 #4
0
 public Device(Adapter adapter, BluetoothDevice nativeDevice, BluetoothGatt gatt, IGattCallback gattCallback, int rssi, byte[] advertisementData = null) : base(adapter)
 {
     Update(nativeDevice, gatt, gattCallback);
     Rssi = rssi;
     AdvertisementRecords = ParseScanRecord(advertisementData);
 }