HERE Android SDK Developer's Guide

VenueNavigationManager

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

Class Summary

public class VenueNavigationManager

extends java.lang.Object

A navigation manager class that provides guidance advice and information along an indoor route.

[For complete information, see the section Class Details]

Nested Class Summary

Table 1. Nested Classes in VenueNavigationManager
Nested Classes

public static final enumeration VenueNavigationManager.NavigationState

The possible states of VenueNavigationManager .

public static final enumeration VenueNavigationManager.TrackingTilt

The tilt that is used when map tracking is enabled.

public static abstract interface VenueNavigationManager.VenueNavigationManagerListener

An interface for responding to navigation events sent by the VenueNavigationManager .

Method Summary

Table 2. Methods in VenueNavigationManager
Methods

public void addListener (VenueNavigationManagerListener listener)

Adds a listener to the navigation manager.

public TrackingTilt getMapTrackingTilt ()

Returns how the map is tilted when map tracking is enabled.

public NavigationState getNavigationState ()

Gets the current state of the navigation related to the tracked route.

public boolean isMapTrackingEnabled ()

Returns true , if @code VenueNavigationManager is allowed to automatically update map position as navigation progresses, false otherwise.

public boolean isPaused ()

Returns true , if current navigation is paused, false otherwise.

public void removeListener (VenueNavigationManagerListener listener)

Removes a listener from the navigation manager.

public void setMapTrackingEnabled (boolean value)

Allows the VenueNavigationManager to automatically update map position as navigation progresses.

public void setMapTrackingTilt (TrackingTilt value)

Controls how the map is tilted when map tracking is enabled.

public void setPaused (boolean value)

When set to true , the current navigation will be paused (if any).

Class Details

A navigation manager class that provides guidance advice and information along an indoor route.

Method Details

public void addListener (VenueNavigationManagerListener listener)

Adds a listener to the navigation manager. The listener must implement the VenueNavigationManager.VenueNavigationManagerListener interface. The listener receives event callbacks containing information about the current navigation session.

Parameters:

public TrackingTilt getMapTrackingTilt ()

Returns how the map is tilted when map tracking is enabled. The default value is TILT3D.

public NavigationState getNavigationState ()

Gets the current state of the navigation related to the tracked route.

public boolean isMapTrackingEnabled ()

Returns true , if @code VenueNavigationManager is allowed to automatically update map position as navigation progresses, false otherwise. By default returns true .

public boolean isPaused ()

Returns true , if current navigation is paused, false otherwise.

public void removeListener (VenueNavigationManagerListener listener)

Removes a listener from the navigation manager. The listener must implement the VenueNavigationManager.VenueNavigationManagerListener interface. The listener receives event callbacks containing information about the current navigation session.

Parameters:

public void setMapTrackingEnabled (boolean value)

Allows the VenueNavigationManager to automatically update map position as navigation progresses.

Parameters:

  • value

    true to enable map tracking, false otherwise.

public void setMapTrackingTilt (TrackingTilt value)

Controls how the map is tilted when map tracking is enabled. In 2D and 3D modes, the map will automatically be tilted back appropriately when the tilt value is changed. In Custom mode, the tilt will not be changed. Use custom mode to allow the map to be manually tilted during navigation or to set the tilt to a fixed custom value.

Parameters:

public void setPaused (boolean value)

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

Parameters:

  • value