HERE Android SDK Developer's Guide

StreetLevelModelState

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

Class Summary

public final class StreetLevelModelState

   implements android.os.Parcelable

extends java.lang.Object

Represents a composite class comprising the zoom level, heading, pitch and roll for a StreetLevelModel.

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in StreetLevelModelState
Constructors

StreetLevelModelState (Parcel in)

Field Summary

Table 2. Fields in StreetLevelModelState
Fields

public static final android.os.Parcelable.Creator <StreetLevelModelState> CREATOR

Method Summary

Table 3. Methods in StreetLevelModelState
Methods

public int describeContents ()

For documentation, see android.os.Parcelable.describeContents()

public boolean equals (Object obj)

For documentation, see java.lang.Object

public float getHeading ()

Gets the current heading of the StreetLevelModel.

public float getPitch ()

Gets the current pitch of the StreetLevelModel.

public float getZoom ()

Gets the current zoom level of the StreetLevelModel.

public int hashCode ()

For documentation, see java.lang.Object

public void writeToParcel (Parcel dest, int flags)

For documentation, see android.os.Parcelable.writeToParcel(Parcel, int)

Class Details

Represents a composite class comprising the zoom level, heading, pitch and roll for a StreetLevelModel.

Note: this object can be retrieved by calling getState().

Constructor Details

StreetLevelModelState (Parcel in)

Parameters:

  • in

Field Details

public static final android.os.Parcelable.Creator <StreetLevelModelState> CREATOR

Method Details

public int describeContents ()

For documentation, see android.os.Parcelable.describeContents()

public boolean equals (Object obj)

For documentation, see java.lang.Object

Parameters:

  • obj

public float getHeading ()

Gets the current heading of the StreetLevelModel.

Returns:

The current heading

public float getPitch ()

Gets the current pitch of the StreetLevelModel.

Returns:

The current pitch

public float getZoom ()

Gets the current zoom level of the StreetLevelModel.

Returns:

The current zoom level

public int hashCode ()

For documentation, see java.lang.Object

public void writeToParcel (Parcel dest, int flags)

For documentation, see android.os.Parcelable.writeToParcel(Parcel, int)

Parameters:

  • dest
  • flags

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.