HERE Android SDK Developer's Guide

RealisticViewListener

The class RealisticViewListener is a member of com.here.android.mpa.guidance.NavigationManager.

Class Summary

public static abstract class NavigationManager.RealisticViewListener

extends java.lang.Object

RealisticViewListenerAdapter provides callback of realistic view related events from NavigationManager .

[For complete information, see the section Class Details]

See also:

setRealisticViewMode(RealisticViewMode)

Constructor Summary

Table 1. Constructors in RealisticViewListener
Constructors

RealisticViewListener ()

Method Summary

Table 2. Methods in RealisticViewListener
Methods

public void onRealisticViewHide ()

Callback for hiding the realistic view.

public void onRealisticViewNextManeuver (AspectRatio ratio, Image junctionImage, Image signImageIn2D)

Callback for notifying the junction view and 2D sign image for the next maneuver.

public void onRealisticViewShow (AspectRatio ratio, Image junctionImage, Image signImageIn2D)

Callback for showing a junction view and 2D sign image.

Class Details

RealisticViewListenerAdapter provides callback of realistic view related events from NavigationManager . By default, empty implementations are provided for all callbacks, users may selectively overload specific methods that are of interest.

No callback will be triggered if the HERE license key is invalid.

See also:

setRealisticViewMode(RealisticViewMode)

Constructor Details

RealisticViewListener ()

Method Details

public void onRealisticViewHide ()

Callback for hiding the realistic view.

public void onRealisticViewNextManeuver (AspectRatio ratio, Image junctionImage, Image signImageIn2D)

Callback for notifying the junction view and 2D sign image for the next maneuver.

Parameters:

  • ratio

    The aspect ratio of the returned images.

  • junctionImage

    The junction view image.

  • signImageIn2D

    The 2D sign image.

public void onRealisticViewShow (AspectRatio ratio, Image junctionImage, Image signImageIn2D)

Callback for showing a junction view and 2D sign image.

Parameters:

  • ratio

    The aspect ratio of the returned images.

  • junctionImage

    The junction view image.

  • signImageIn2D

    A 2D sign image.