HERE iOS SDK Developer's Guide

NMAVenue3dSimulatedPositionSource

Class Summary

class NMAVenue3dSimulatedPositionSource

Derived from: NSObject, NMAPositionDataSource

Represents a position data source, which is able to simulate indoor positioning based on provided NMAVenue3dVenueRouteSection object.

Include: NMAKit.framework/headers/NMAVenue3dSimulatedPositionSource.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAVenue3dSimulatedPositionSource

[For complete information, see the section Class Details]

See also:

NMAVenue3dVenueRouteSection

NMAVenue3dNavigationManager

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NMAVenue3dSimulationState   navigationState

Returns the current state of the simulation related to the tracked route

[readable, writable, assign] BOOL  paused

When set to YES, the current simulation will be paused (if any)

[readable, writable, assign] NSTimeInterval  updatesInterval

Returns the interval between two updates of postion and, in case of error, returns -DBL_MAX

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(nonnull instancetype) init

-(nonnull instancetype) initWithLinkSection:(nonnull NMAVenue3dLinkRouteSection *) linkSection speed:(double) speed distortionEnabled:(BOOL) distortionEnabled

Initializes a new NMAVenue3dSimulatedPositionSource object using the specified link route section with the constant speed

-(nonnull instancetype) initWithRouteSection:(nonnull NMAVenue3dVenueRouteSection *) routeSection speed:(double) speed distortionEnabled:(BOOL) distortionEnabled

Initializes a new NMAVenue3dSimulatedPositionSource object using the specified venue route section with the constant speed

Class Method Summary

Table 3. Class Methods
Class Methods

+(nonnull instancetype) new

+(nonnull instancetype) positionSourceWithLinkSection:(nonnull NMAVenue3dLinkRouteSection *) linkSection speed:(double) speed distortionEnabled:(BOOL) distortionEnabled

Instantiates a new NMAVenue3dSimulatedPositionSource object using the specified link route section with the constant speed

+(nonnull instancetype) positionSourceWithRouteSection:(nonnull NMAVenue3dVenueRouteSection *) routeSection speed:(double) speed distortionEnabled:(BOOL) distortionEnabled

Instantiates a new NMAVenue3dSimulatedPositionSource object using the specified venue route section with the constant speed

Class Details

Represents a position data source, which is able to simulate indoor positioning based on provided NMAVenue3dVenueRouteSection object.

 

See also:

NMAVenue3dVenueRouteSection

NMAVenue3dNavigationManager

Public Property Details

[readable, assign] NMAVenue3dSimulationState  navigationState

Returns the current state of the simulation related to the tracked route.

[readable, writable, assign] BOOL paused

When set to YES, the current simulation will be paused (if any). When set to NO, the current simulation will resume if previously paused. This has no effect if there is no simulation currently in progress.

[readable, writable, assign] NSTimeInterval updatesInterval

Returns the interval between two updates of postion and, in case of error, returns -DBL_MAX.

Instance Method Details

-(nonnull instancetype) init

Instances of this class should not be initialized directly

Initializes a new NMAVenue3dSimulatedPositionSource object using the specified link route section with the constant speed.

Parameters:

  • linkSection

    The link route section to navigate.

  • speed

    The speed in meters per second (m/s).

  • distortionEnabled

    Specifies whether position will be distorted with some random factor.

-(nonnull instancetype) initWithRouteSection:(nonnull NMAVenue3dVenueRouteSection *) routeSection speed:(double) speed distortionEnabled:(BOOL) distortionEnabled

Initializes a new NMAVenue3dSimulatedPositionSource object using the specified venue route section with the constant speed.

Parameters:

  • routeSection

    The venue route section to navigate.

  • speed

    The speed in meters per second (m/s).

  • distortionEnabled

    Specifies whether position will be distorted with some random factor.

Class Method Details

+(nonnull instancetype) new

Instances of this class should not be initialized directly

Instantiates a new NMAVenue3dSimulatedPositionSource object using the specified link route section with the constant speed.

Parameters:

  • linkSection

    The link route section to navigate.

  • speed

    The speed in meters per second (m/s).

  • distortionEnabled

    Specifies whether position will be distorted with some random factor.

+(nonnull instancetype) positionSourceWithRouteSection:(nonnull NMAVenue3dVenueRouteSection *) routeSection speed:(double) speed distortionEnabled:(BOOL) distortionEnabled

Instantiates a new NMAVenue3dSimulatedPositionSource object using the specified venue route section with the constant speed.

Parameters:

  • routeSection

    The venue route section to navigate.

  • speed

    The speed in meters per second (m/s).

  • distortionEnabled

    Specifies whether position will be distorted with some random factor.