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) 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) 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) 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) new

Instances of this class should not be initialized directly

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.