PositionProvider Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PositionProvider(NmeaSinkAndSource) |
Create a position provider from a given data source. The data source is monitored for changes. |
PositionProvider(SentenceCache) |
Create a position provider using an existing cache. The cache must be updated externally. |
PositionProvider(NmeaSinkAndSource)
Create a position provider from a given data source. The data source is monitored for changes.
public PositionProvider (Iot.Device.Nmea0183.NmeaSinkAndSource dataSource);
new Iot.Device.Nmea0183.PositionProvider : Iot.Device.Nmea0183.NmeaSinkAndSource -> Iot.Device.Nmea0183.PositionProvider
Public Sub New (dataSource As NmeaSinkAndSource)
Parameters
- dataSource
- NmeaSinkAndSource
The data source to monitor
Applies to
PositionProvider(SentenceCache)
Create a position provider using an existing cache. The cache must be updated externally.
public PositionProvider (Iot.Device.Nmea0183.SentenceCache cache);
new Iot.Device.Nmea0183.PositionProvider : Iot.Device.Nmea0183.SentenceCache -> Iot.Device.Nmea0183.PositionProvider
Public Sub New (cache As SentenceCache)
Parameters
- cache
- SentenceCache
The cache to use