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