HERE Android SDK Developer's Guide

Ratings

The class Ratings is a member of com.here.android.mpa.search .

Class Summary

public class Ratings

extends java.lang.Object

Represents a summary of user-supplied ratings for a Place.

[For complete information, see the section Class Details]

See also:

getUserRatings()

Method Summary

Table 1. Methods in Ratings
Methods

public boolean equals (Object obj)

For documentation, see java.lang.Object

public double getAverage ()

Gets the average rating for the Place.

public int getCount ()

Gets the count of individual contributions that users provided for rating the Place.

public int hashCode ()

For documentation, see java.lang.Object

Class Details

Represents a summary of user-supplied ratings for a Place.

Note: ratings are normalized to values from [0..5], to compensate for potential differences between supplier ratings systems.

See also:

getUserRatings()

Method Details

public boolean equals (Object obj)

For documentation, see java.lang.Object

Parameters:

  • obj

public double getAverage ()

Gets the average rating for the Place.

Returns:

The average rating

public int getCount ()

Gets the count of individual contributions that users provided for rating the Place.

Returns:

The total ratings count

public int hashCode ()

For documentation, see java.lang.Object

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.