Method GetDevices
| Edit this page View SourceGetDevices()
Gets a list of supported known EAAccessories that support NMEA
Declaration
public static IEnumerable<EAAccessoryDevice> GetDevices()
Returns
| Type | Description |
|---|---|
| IEnumerable<EAAccessoryDevice> | A list of supported devices |
Remarks
Returns a list of devices. Only devices enabled in the Info.plist will be enabled. See below for an example:
<key>UISupportedExternalAccessoryProtocols</key>
<array>
<string>com.bad-elf.gps</string>
</array>
Supported protocols:
- Bad Elf:
com.bad-elf.gps. - Generic bluetooth serial:
00001101-0000-1000-8000-00805F9B34FB
If you know of other MFI certificed NMEA devices, please make a request to have it added here: https://github.com/dotMorten/NmeaParser/issues/new
or you can use EAAccessoryManager.SharedAccessoryManager.ConnectedAccessories to iterate and find the devices yourself.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET iOS | main, v3.0 |
| Xamarin.iOS | v2.2 |