SYLoggedPositionSource Class Reference

A position data source which generates position updates from GPS log in NMEA format. More...

#import <SYPositionDataSource.h>

Inheritance diagram for SYLoggedPositionSource:
Collaboration diagram for SYLoggedPositionSource:

Instance Methods

((unavailable("Use createWithCompletion method instead.") - __attribute__
 
- Instance Methods inherited from SYSimulatorPositionSource
(void) - setRepeat:completion:
 Asynchronously set parameter, if simulation should repeat after reaching the destination. More...
 
(void) - setSpeedMultiplier:completion:
 Asynchronously set speed multiplier. More...
 
(void) - pause
 Pause simulation. More...
 
(void) - seekTo:completion:
 Seek the simulation up to some percentage value. More...
 
- Instance Methods inherited from SYPositionDataSource
(void) - start
 Notifies the data source that position updates should start. More...
 
(void) - stop
 Notifies the data source that position updates should stop. More...
 

Class Methods

(void) + createWithNmeaProvider:completion:
 Asynchronously create the class instance which will simulate position by reading NMEA sentences from NMEA provider. More...
 
((unavailable("Use createWithCompletion method instead.") + __attribute__
 

Properties

id< SYPositionLogNMEAProviderprovider
 Provider of NMEA sentences. Typically this object should read NMEA log file and return NMEA sentences one by one. More...
 
- Properties inherited from SYSimulatorPositionSource
BOOL repeat
 Repeat simulation after reaching the destination. More...
 
CGFloat speedMultiplier
 Speed multiplier for simulator. More...
 
BOOL isPaused
 Represents if the simulation is paused. More...
 
- Properties inherited from SYPositionDataSource
BOOL backgroundUpdatesEnabled
 Indicates whether or not position updates should continue when the app is sent to the background. Default value is NO; The position data source in use must support background updates in order to use positioning-dependent features such as navigation in the background. More...
 

Detailed Description

A position data source which generates position updates from GPS log in NMEA format.

Method Documentation

◆ createWithNmeaProvider:completion:

+ (void) createWithNmeaProvider: (nonnull id< SYPositionLogNMEAProvider >)  provider
completion: (create(nmeaProvider:completion:))  NS_SWIFT_NAME 

Asynchronously create the class instance which will simulate position by reading NMEA sentences from NMEA provider.

Parameters
providerProvider of NMEA sentences. Typically this object should read NMEA log file and return NMEA sentences one by one.

◆ __attribute__ [1/2]

- ((unavailable("Use createWithCompletion method instead.") __attribute__

Implements SYPositionDataSource.

◆ __attribute__ [2/2]

+ ((unavailable("Use createWithCompletion method instead.") __attribute__

Implements SYPositionDataSource.

Property Documentation

◆ provider

- (id<SYPositionLogNMEAProvider>) provider
readnonatomicstrong

Provider of NMEA sentences. Typically this object should read NMEA log file and return NMEA sentences one by one.


The documentation for this class was generated from the following file: