HERE Android SDK Developer's Guide

VenueInfo

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

Class Summary

public final class VenueInfo

extends com.here.android.mpa.venues3d.SpatialObject, java.lang.Object

This class encapsulates the identification and location information for a Venue.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in VenueInfo
Methods

public GeoBoundingBox getBoundingBox ()

This method retrieves a bounding box enclosing the venue.

public boolean getIsAlternativeSource ()

This method returns true if the venue is located in an alternative source.

public String getName ()

This method retrieves the name of the venue.

Class Details

This class encapsulates the identification and location information for a Venue. An instance of the class is returned by the search methods getVenuesIn(GeoBoundingBox) and getVenueById(String) of VenueService. The Map can be centered, based on the geographic coordinates of the venue returned by getBoundingBox(). You can open a venue, using the venue identifier returned by getId() called on VenueInfo .

Method Details

public GeoBoundingBox getBoundingBox ()

This method retrieves a bounding box enclosing the venue. A bounding box is an area defined by the minimum and maximum longitudes and latitudes of the venue.

Returns:

An object representing the bounding box that encloses the venue.

public boolean getIsAlternativeSource ()

This method returns true if the venue is located in an alternative source. More information about primary and alternative sources can be found in setIsCombinedContent(boolean).

Returns:

A boolean containing the information if the venue is located in an alternative source.

public String getName ()

This method retrieves the name of the venue.

Returns:

A string containing the name of the venue.