Révision 340558f2 TestXamConnections/TestXamConnections.Android/Receivers/BluetoothReceiver.cs
TestXamConnections/TestXamConnections.Android/Receivers/BluetoothReceiver.cs | ||
---|---|---|
17 | 17 |
BluetoothDevice foundDevice = intent.GetParcelableExtra(BluetoothDevice.ExtraDevice) as BluetoothDevice; |
18 | 18 |
if (foundDevice != null) |
19 | 19 |
{ |
20 |
var btDevice = new DeviceInfo
|
|
20 |
var btDevice = new InfoAppareil
|
|
21 | 21 |
{ |
22 |
MACAddress = foundDevice.Address,
|
|
23 |
Name = foundDevice.Name
|
|
22 |
AdresseMAC = foundDevice.Address,
|
|
23 |
Nom = foundDevice.Name
|
|
24 | 24 |
}; |
25 | 25 |
} |
26 | 26 |
OnBluetoothDeviceDiscovered.Invoke(this, foundDevice); |
Formats disponibles : Unified diff