SKTrackablePOIRule Class Reference

Inherits from NSObject
Declared in SKTrackablePOIRule.h

Overview

SKTrackablePOIRule stores information about a POI tracking rule, used by the SKPOITracker. For detecting a POI all of the below rules should be fulfilled.

  routeDistance

The maximum distance on the route to the SKTrackablePOI, in order to be detected. Default value is 1500m.

@property (nonatomic, assign) NSInteger routeDistance

Discussion

The maximum distance on the route to the SKTrackablePOI, in order to be detected. Default value is 1500m.

Declared In

SKTrackablePOIRule.h

  aerialDistance

The maximum aerial distance to the SKTrackablePOI, in order to be detected. Default value is 3000m.

@property (nonatomic, assign) NSInteger aerialDistance

Discussion

The maximum aerial distance to the SKTrackablePOI, in order to be detected. Default value is 3000m.

Declared In

SKTrackablePOIRule.h

  numberOfTurns

The maximum number of turns on the shortest route to the SKTrackablePOI, in order to be detected. Default value is 2.

@property (nonatomic, assign) NSInteger numberOfTurns

Discussion

The maximum number of turns on the shortest route to the SKTrackablePOI, in order to be detected. Default value is 2.

Declared In

SKTrackablePOIRule.h

  maxGPSAccuracy

The GPS accuracy threshold above which the SKTrackablePOI will be ignored, in meters. Default is 100 meters.

@property (nonatomic, assign) NSInteger maxGPSAccuracy

Discussion

The GPS accuracy threshold above which the SKTrackablePOI will be ignored, in meters. Default is 100 meters.

Declared In

SKTrackablePOIRule.h

  minSpeedIgnoreDistanceAfterTurn

The minimum speed that users must drive with to be warned about POIs around corners. Default value is 80 km/h.

@property (nonatomic, assign) double minSpeedIgnoreDistanceAfterTurn

Discussion

The minimum speed that users must drive with to be warned about POIs around corners. Default value is 80 km/h.

Declared In

SKTrackablePOIRule.h

  maxDistanceAfterTurn

The distance threshold that eliminates POIs that are far away from the last corner to them. Default value is 300 meters.

@property (nonatomic, assign) NSInteger maxDistanceAfterTurn

Discussion

The distance threshold that eliminates POIs that are far away from the last corner to them. Default value is 300 meters.

Declared In

SKTrackablePOIRule.h

  eliminateIfUTurn

If set to YES, the tracker will eliminate SKTrackablePOIs that are placed after an U-turn. Default is YES.

@property (nonatomic, assign) BOOL eliminateIfUTurn

Discussion

If set to YES, the tracker will eliminate SKTrackablePOIs that are placed after an U-turn. Default is YES.

Declared In

SKTrackablePOIRule.h

  playAudioWarning

If set to YES, an audio warning will be played, via SKNavigationDelegate. Default is NO.

@property (nonatomic, assign) BOOL playAudioWarning

Discussion

If set to YES, an audio warning will be played, via SKNavigationDelegate. Default is NO.

Declared In

SKTrackablePOIRule.h

+ trackablePOIRule

Creates a newly initialized SKTrackablePOIRule instance.

+ (instancetype)trackablePOIRule

Discussion

Creates a newly initialized SKTrackablePOIRule instance.

Declared In

SKTrackablePOIRule.h