SYSimulatorPositionSource Class Reference

Parent class of SYRoutePositionSimulator and SYLoggedPositionSource. More...

#import <SYPositionDataSource.h>

Inheritance diagram for SYSimulatorPositionSource:
Collaboration diagram for SYSimulatorPositionSource:

Instance Methods

(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
((unavailable("Use createWithCompletion method instead.") - __attribute__
 
(void) - start
 Notifies the data source that position updates should start. More...
 
(void) - stop
 Notifies the data source that position updates should stop. More...
 

Properties

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...
 

Additional Inherited Members

- Class Methods inherited from SYPositionDataSource
((unavailable("Use createWithCompletion method instead.") + __attribute__
 

Detailed Description

Method Documentation

◆ setRepeat:completion:

- (void) setRepeat: (BOOL)  repeat
completion: (nullable SYOperationDoneCompletionBlock)  completion 

Asynchronously set parameter, if simulation should repeat after reaching the destination.

◆ setSpeedMultiplier:completion:

- (void) setSpeedMultiplier: (CGFloat)  multiplier
completion: (nullable SYOperationDoneCompletionBlock)  completion 

Asynchronously set speed multiplier.

◆ pause

- (void) pause

Pause simulation.

◆ seekTo:completion:

- (void) seekTo: (NSUInteger)  percent
completion: (nullable SYOperationDoneCompletionBlock)  completion 

Seek the simulation up to some percentage value.

Parameters
percentInteger value from 0 to 100.
completionCompletion block which is called when the requested operation is done.

Property Documentation

◆ repeat

- (BOOL) repeat
readnonatomicassign

Repeat simulation after reaching the destination.

◆ speedMultiplier

- (CGFloat) speedMultiplier
readnonatomicassign

Speed multiplier for simulator.

◆ isPaused

- (BOOL) isPaused
readnonatomicassign

Represents if the simulation is paused.


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