HERE Android SDK Developer's Guide

TransitRouteSupplierNote

The class TransitRouteSupplierNote is a member of com.here.android.mpa.routing .

Class Summary

public class TransitRouteSupplierNote

extends java.lang.Object

This class contains giving additional information about the supplier.

[For complete information, see the section Class Details]

See also:

Route

getTransitRouteSourceAttribution()

getSuppliers()

getNotes()

Method Summary

Table 1. Methods in TransitRouteSupplierNote
Methods

public String getText ()

Gets the note text.The text may contain HTML text and markup, including hyperlink elements.

public String getType ()

Gets the type of source supplier note

public String getUrl ()

Gets the URL, to which note is referring, if any

public String getUrlText ()

Gets the text, displayed with URL, to which note is referring, if any.

Class Details

This class contains giving additional information about the supplier. This additional information about data supplier has to be exposed in the client application

See also:

Route

getTransitRouteSourceAttribution()

getSuppliers()

getNotes()

Method Details

public String getText ()

Gets the note text.The text may contain HTML text and markup, including hyperlink elements. The text will be localized. The code snippet below demonstrates how to display the string in an Android TextView


 TextView textView = (TextView) findViewById(R.id.noteText);
 textView.setText((Html.fromHtml(note.getText()));
 textView.setMovementMethod(LinkMovementMethod.getInstance());
  

Returns:

Note text

public String getType ()

Gets the type of source supplier note

Returns:

Supplier note type

public String getUrl ()

Gets the URL, to which note is referring, if any

Returns:

Note url

public String getUrlText ()

Gets the text, displayed with URL, to which note is referring, if any.

Returns:

Url text

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.