HERE Android SDK Developer's Guide

Media

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

Class Summary

public abstract class Media

extends java.lang.Object

Represents the base class for additional rich content about a Place.

[For complete information, see the section Class Details]

Nested Class Summary

Table 1. Nested Classes in Media
Nested Classes

public static final enumeration Media.Type

Represents values describing supported Media types for a Place.

Method Summary

Table 2. Methods in Media
Methods

public boolean equals (Object obj)

For documentation, see java.lang.Object

public String getAttributionText ()

Gets the String representation of the attribution text for the Media , according to the terms and conditions of the originating source.

public SupplierLink getSupplier ()

Gets the Link to a resource representing the supplier of the Media (the object provides details about the origin of the information).

public Type getType ()

Gets the specialized MediaType for the Media .

protected String getUrl ()

public ViaLink getVia ()

Gets the Link to the origin of the Media , typically a website of the supplier.

public int hashCode ()

For documentation, see java.lang.Object

Class Details

Represents the base class for additional rich content about a Place.

The following specialized content types might be available:

  • Editorial content
  • Image content
  • Review content

Method Details

public boolean equals (Object obj)

For documentation, see java.lang.Object

Parameters:

  • obj

public String getAttributionText ()

Gets the String representation of the attribution text for the Media , according to the terms and conditions of the originating source.

Returns:

The attribution text

public SupplierLink getSupplier ()

Gets the Link to a resource representing the supplier of the Media (the object provides details about the origin of the information).

Returns:

The supplier Link

public Type getType ()

Gets the specialized MediaType for the Media .

Returns:

The MediaType

protected String getUrl ()

public ViaLink getVia ()

Gets the Link to the origin of the Media , typically a website of the supplier.

Returns:

The via Link

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.