Parent class of SYRoutePositionSimulator and SYLoggedPositionSource.
More...
#import <SYPositionDataSource.h>
|
| 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...
|
| |
| 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...
|
| |
|
| ((unavailable("Use createWithCompletion method instead.") | + __attribute__ |
| |
◆ 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
◆ seekTo:completion:
| - (void) seekTo: |
|
(NSUInteger) |
percent |
| completion: |
|
(nullable SYOperationDoneCompletionBlock) |
completion |
|
|
| |
Seek the simulation up to some percentage value.
- Parameters
-
| percent | Integer value from 0 to 100. |
| completion | Completion block which is called when the requested operation is done. |
◆ repeat
Repeat simulation after reaching the destination.
◆ speedMultiplier
| - (CGFloat) speedMultiplier |
|
readnonatomicassign |
Speed multiplier for simulator.
◆ isPaused
Represents if the simulation is paused.
The documentation for this class was generated from the following file: