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