HERE Android SDK Developer's Guide

VenueSimulatedLocationSource

The class VenueSimulatedLocationSource is a member of com.here.android.mpa.venues3d .

Class Summary

public class VenueSimulatedLocationSource

extends com.here.android.mpa.common.LocationDataSource, java.lang.Object

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

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in VenueSimulatedLocationSource
Constructors

VenueSimulatedLocationSource (VenueRoute routeSection, double speed, boolean distortionEnabled)

Constructs a simulated location source object.

Method Summary

Table 2. Methods in VenueSimulatedLocationSource
Methods

public int getGpsStatus ()

public int getIndoorStatus ()

public Location getLastKnownLocation ()

public int getNetworkStatus ()

public boolean start (LocationMethod method)

public void stop ()

Class Details

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

Constructor Details

VenueSimulatedLocationSource (VenueRoute routeSection, double speed, boolean distortionEnabled)

Constructs a simulated location source object.

Parameters:

  • routeSection

    The venue route section for which to simulate the location.

  • speed

    The speed at which the simulated location changes in meters per second.

  • distortionEnabled

    If enabled, each generated position will be distorted with some random factor

Method Details

public int getGpsStatus ()

public int getIndoorStatus ()

public Location getLastKnownLocation ()

public int getNetworkStatus ()

public boolean start (LocationMethod method)

Parameters:

  • method

public void stop ()