Constructor BluetoothDevice
| Edit this page View SourceBluetoothDevice(BluetoothDevice)
Initializes a new instance of the BluetoothDevice class.
Declaration
[Obsolete("Use BluetoothDevice(BluetoothDevice, Context)")]
public BluetoothDevice(BluetoothDevice device)
Parameters
| Type | Name | Description |
|---|---|---|
| BluetoothDevice | device | The Android Bluetooth Device. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Android | main, v3.0 |
| Xamarin.Android | v2.2, v2.1, v2.0 |
BluetoothDevice(BluetoothDevice, Context)
Initializes a new instance of the BluetoothDevice class.
Declaration
public BluetoothDevice(BluetoothDevice device, Context context)
Parameters
| Type | Name | Description |
|---|---|---|
| BluetoothDevice | device | The Android Bluetooth Device. |
| Context | context | The Android context |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Android | main, v3.0 |