HERE iOS SDK Developer's Guide

NMASafetySpotWarner

Class Summary

class NMASafetySpotWarner

Derived from: NSObject

Provides safety spot warning information for the current navigation session.

Include: NMAKit.framework/headers/NMASafetySpotWarner.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMASafetySpotWarner

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, writable, weak] id< NMASafetySpotWarnerDelegate delegate

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(nonnull instancetype) init

-(BOOL) isSafetySpotNotificationInfoAhead:(nonnull NMASafetySpotNotificationInfo *) safetySpotNotificationInfo

Determines whether or not an NMASafetySpotNotificationInfo is ahead of the current GPS position (as reported by NMAPositioningManager)

-(void) start

Start the safety spot warner delegate callbacks

-(void) stop

Stop the safety spot warner delegate callbacks

Class Method Summary

Table 3. Class Methods
Class Methods

+(nonnull instancetype) new

Class Details

Provides safety spot warning information for the current navigation session.

Note:

This class should not be initialized directly. An instance should be obtained via [ NMANavigationManager safetySpotWarner].

Public Property Details

[readable, writable, weak] id< NMASafetySpotWarnerDelegatedelegate

Delegate for notification of safety spots relevant to the current navigation session

Instance Method Details

-(nonnull instancetype) init

Instances of this class should not be initialized directly

-(BOOL) isSafetySpotNotificationInfoAhead:(nonnull NMASafetySpotNotificationInfo *) safetySpotNotificationInfo

Determines whether or not an NMASafetySpotNotificationInfo is ahead of the current GPS position (as reported by NMAPositioningManager).

Returns:

YES if safetySpotNotificationInfo is ahead of the current GPS position.

-(void) start

Start the safety spot warner delegate callbacks.

Will be started by default if there is an active navigation session ([ NMANavigationManager navigationState] is NMANavigationStateRunning)

-(void) stop

Stop the safety spot warner delegate callbacks.

Class Method Details

+(nonnull instancetype) new

Instances of this class should not be initialized directly