HERE Android SDK Developer's Guide

StreetLevelBuilding

The class StreetLevelBuilding is a member of com.here.android.mpa.streetlevel .

Class Summary

public final class StreetLevelBuilding

extends com.here.android.mpa.streetlevel.StreetLevelProxyObject, com.here.android.mpa.common.ViewObject, java.lang.Object

Represents all street level building objects that are a visible component of an on-screen StreetLevelFragment.

[For complete information, see the section Class Details]

See also:

getVisibleBuildings()

Method Summary

Table 1. Methods in StreetLevelBuilding
Methods

public float getHighlight ()

Gets the current StreetLevelBuilding highlight intensity, a float value within the range of [0..1] where 0 represents minimum intensity and 1 represents maximum intensity.

public Identifier getIdentifier ()

Gets the unique StreetLevelBuilding identifier, used for binding StreetLevelIcon and StreetLevelBillboard objects.

public GeoCoordinate getPosition ()

Gets the GeoCoordinate representing the position of the StreetLevelBuilding .

public Type getType ()

Gets the type of object that the {link StreetLevelProxyObject} represents.

This method overrides streetlevel.StreetLevelProxyObject.getType(void)

public boolean setHighlight (float intensity)

Sets a highlight intensity for the StreetLevelBuilding , a float value within the range of [0..1] where 0 represents minimum intensity and 1 represents maximum intensity.

Class Details

Represents all street level building objects that are a visible component of an on-screen StreetLevelFragment.

See also:

getVisibleBuildings()

Method Details

public float getHighlight ()

Gets the current StreetLevelBuilding highlight intensity, a float value within the range of [0..1] where 0 represents minimum intensity and 1 represents maximum intensity.

Returns:

The current highlight intensity

public Identifier getIdentifier ()

Gets the unique StreetLevelBuilding identifier, used for binding StreetLevelIcon and StreetLevelBillboard objects.

Returns:

The Identifier for the building

public GeoCoordinate getPosition ()

Gets the GeoCoordinate representing the position of the StreetLevelBuilding .

Returns:

The GeoCoordinate. A null value is returned if the StreetLevelBuilding is not visible on screen.

public Type getType ()

Gets the type of object that the {link StreetLevelProxyObject} represents.

This method overrides streetlevel.StreetLevelProxyObject.getType(void)

public boolean setHighlight (float intensity)

Sets a highlight intensity for the StreetLevelBuilding , a float value within the range of [0..1] where 0 represents minimum intensity and 1 represents maximum intensity. The default value for highlight is 0, which represents no highlight.

Parameters:

  • intensity

    Desired highlight intensity

Returns:

true if the operation is successful. Returns false otherwise, for example, highlight intensity is not in the valid range.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.