mirror of
https://github.com/dotMorten/NmeaParser.git
synced 2026-01-30 04:14:22 +01:00
181 lines
7.6 KiB
HTML
181 lines
7.6 KiB
HTML
<!DOCTYPE html>
|
|
<!--[if IE]><![endif]-->
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<title>Method GetDevices </title>
|
|
<meta name="viewport" content="width=device-width">
|
|
<meta name="title" content="Method GetDevices ">
|
|
|
|
|
|
<link rel="shortcut icon" href="../../favicon.ico">
|
|
<link rel="stylesheet" href="../../styles/docfx.vendor.min.css">
|
|
<link rel="stylesheet" href="../../styles/docfx.css">
|
|
<link rel="stylesheet" href="../../styles/main.css">
|
|
<meta property="docfx:navrel" content="../../toc.html">
|
|
<meta property="docfx:tocrel" content="toc.html">
|
|
|
|
|
|
|
|
</head>
|
|
<body data-spy="scroll" data-target="#affix" data-offset="120">
|
|
<div id="wrapper">
|
|
<header>
|
|
|
|
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
|
|
<a class="navbar-brand" href="../../index.html">
|
|
<img id="logo" class="svg" src="../../images/logo.png" alt="">
|
|
</a>
|
|
</div>
|
|
<div class="collapse navbar-collapse" id="navbar">
|
|
<form class="navbar-form navbar-right" role="search" id="search">
|
|
<div class="form-group">
|
|
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<div class="subnav navbar navbar-default">
|
|
<div class="container hide-when-search" id="breadcrumb">
|
|
<ul class="breadcrumb">
|
|
<li></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<div role="main" class="container body-content hide-when-search">
|
|
|
|
<div class="sidenav hide-when-search">
|
|
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
|
|
<div class="sidetoggle collapse" id="sidetoggle">
|
|
<div id="sidetoc"></div>
|
|
</div>
|
|
</div>
|
|
<div class="article row grid-right">
|
|
<div class="col-md-10">
|
|
<article class="content wrap" id="_content" data-uid="NmeaParser.EAAccessoryDevice.GetDevices*">
|
|
|
|
|
|
|
|
<h1 id="NmeaParser_EAAccessoryDevice_GetDevices_" data-uid="NmeaParser.EAAccessoryDevice.GetDevices*">Method GetDevices</h1>
|
|
<div class="markdown level0 summary"></div>
|
|
<div class="markdown level0 conceptual"></div>
|
|
|
|
<span class="small pull-right mobile-hide">
|
|
<span class="divider">|</span>
|
|
<a href="https://github.com/dotMorten/NmeaParser/blob/main/artifacts/docs/api_overwrites/applies-to-overwrite.md/#L11406">Edit this page</a>
|
|
</span>
|
|
<span class="small pull-right mobile-hide">
|
|
<a href="https://github.com/dotMorten/NmeaParser/blob/main/src/NmeaParser/EAAccessoryDevice.iOS.cs/#L79">View Source</a>
|
|
</span>
|
|
<a id="NmeaParser_EAAccessoryDevice_GetDevices_" data-uid="NmeaParser.EAAccessoryDevice.GetDevices*"></a>
|
|
<h4 id="NmeaParser_EAAccessoryDevice_GetDevices" data-uid="NmeaParser.EAAccessoryDevice.GetDevices">GetDevices()</h4>
|
|
<div class="markdown level1 summary"><p>Gets a list of supported known EAAccessories that support NMEA</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="declaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IEnumerable<EAAccessoryDevice> GetDevices()</code></pre>
|
|
</div>
|
|
<h5 class="returns">Returns</h5>
|
|
<table class="table table-bordered table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="NmeaParser.EAAccessoryDevice.html">EAAccessoryDevice</a>></td>
|
|
<td><p>A list of supported devices</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="NmeaParser_EAAccessoryDevice_GetDevices_remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>Returns a list of devices. Only devices enabled in the <code>Info.plist</code> will be enabled. See below for an example:</p>
|
|
<pre><code class="lang-csharp"><key>UISupportedExternalAccessoryProtocols</key>
|
|
<array>
|
|
<string>com.bad-elf.gps</string>
|
|
</array></code></pre>
|
|
<p>Supported protocols:</p>
|
|
<ul><li>Bad Elf: <code>com.bad-elf.gps</code>.</li><li>Generic bluetooth serial: <code> 00001101-0000-1000-8000-00805F9B34FB</code></li></ul>
|
|
<p>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 <code>EAAccessoryManager.SharedAccessoryManager.ConnectedAccessories</code> to iterate and find the devices yourself.</p>
|
|
</div>
|
|
<h3 id="appliesTo">Applies to</h3>
|
|
<div class="appliesto">
|
|
<details>
|
|
<summary class="has-margin-bottom-medium">
|
|
Platforms and versions
|
|
</summary>
|
|
<div>
|
|
<table>
|
|
<thead><th>Target</th><th>Versions</th></thead>
|
|
<tbody>
|
|
<tr><td><b>.NET iOS</b></td><td>main, v3.0</td></tr>
|
|
<tr><td><b>Xamarin.iOS</b></td><td>v2.2</td></tr>
|
|
</tbody>
|
|
|
|
</table>
|
|
</div>
|
|
</details>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
|
|
<div class="hidden-sm col-md-2" role="complementary">
|
|
<div class="sideaffix">
|
|
<div class="contribution">
|
|
<ul class="nav">
|
|
<li>
|
|
<a href="https://github.com/dotMorten/NmeaParser/new/main/docs/api_overwrites/new?filename=NmeaParser_EAAccessoryDevice_GetDevices_.md&value=---%0Auid%3A%20NmeaParser.EAAccessoryDevice.GetDevices*%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Edit this page</a>
|
|
</li>
|
|
<li>
|
|
<a href="https://github.com/dotMorten/NmeaParser/blob/main/src/NmeaParser/EAAccessoryDevice.iOS.cs/#L79" class="contribution-link">View Source</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
|
|
<h5>In this article</h5>
|
|
<div></div>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<footer>
|
|
<div class="grad-bottom"></div>
|
|
<div class="footer">
|
|
<div class="container">
|
|
<span class="pull-right">
|
|
<a href="#top">Back to top</a>
|
|
</span>
|
|
|
|
<span>Generated by <strong>DocFX</strong></span>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
|
|
<script type="text/javascript" src="../../styles/docfx.vendor.min.js"></script>
|
|
<script type="text/javascript" src="../../styles/docfx.js"></script>
|
|
<script type="text/javascript" src="../../styles/main.js"></script>
|
|
</body>
|
|
</html>
|