Constructor BluetoothDevice
| Edit this page View SourceBluetoothDevice(RfcommDeviceService, bool)
Initializes a new instance of the BluetoothDevice class.
Declaration
public BluetoothDevice(RfcommDeviceService service, bool disposeService = false)
Parameters
Type | Name | Description |
---|---|---|
RfcommDeviceService | service | The RF Comm Device service. |
bool | disposeService | Whether this devicee should also dispose the RfcommDeviceService provided when this device disposes. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Windows | main |
UWP | main, v3.0, v2.2, v2.1, v2.0 |
BluetoothDevice(PeerInformation)
Initializes a new instance of the BluetoothDevice class.
Declaration
public BluetoothDevice(PeerInformation peer)
Parameters
Type | Name | Description |
---|---|---|
PeerInformation | peer | The peer information device. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Windows | main |
UWP | main, v3.0, v2.2, v2.1, v2.0 |