Method GetBluetoothSerialDevices
| Edit this page View SourceGetBluetoothSerialDevices()
Gets a list of bluetooth devices that supports serial communication
Declaration
[Obsolete("Use GetBluetoothSerialDevices(Context)")]
public static IEnumerable<BluetoothDevice> GetBluetoothSerialDevices()
Returns
| Type | Description |
|---|---|
| IEnumerable<BluetoothDevice> | A set of bluetooth devices available that supports serial connections |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Android | main, v3.0 |
| Xamarin.Android | v2.2, v2.1, v2.0 |
GetBluetoothSerialDevices(Context)
Gets a list of bluetooth devices that supports serial communication
Declaration
public static IEnumerable<BluetoothDevice> GetBluetoothSerialDevices(Context context)
Parameters
| Type | Name | Description |
|---|---|---|
| Context | context | The Android context |
Returns
| Type | Description |
|---|---|
| IEnumerable<BluetoothDevice> | A set of bluetooth devices available that supports serial connections |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Android | main, v3.0 |