HERE Android SDK Developer's Guide

TransitRouteSourceAttribution

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

Class Summary

public class TransitRouteSourceAttribution

extends java.lang.Object

This class contains copyright notices that must be displayed to the end user.

[For complete information, see the section Class Details]

See also:

Route

getTransitRouteSourceAttribution()

Method Summary

Table 1. Methods in TransitRouteSourceAttribution
Methods

public String getAttribution ()

Gets the source attribution information as a html formatted string.

public java.util.List <TransitRouteSupplier> getSuppliers ()

Gets the structured information about source data suppliers

Class Details

This class contains copyright notices that must be displayed to the end user. Source attribution must be displayed together with a route. This requirement forms part of the terms and conditions of the API.

See also:

Route

getTransitRouteSourceAttribution()

Method Details

public String getAttribution ()

Gets the source attribution information as a html formatted string. The code snippet below demonstrates how to display the string in an Android TextView

       TextView textView = (TextView)
findViewById(R.id.attributionText);textView.setText((Html.fromHtml(route.getTransitRouteSourceAttribution().getAttribution())));textView.setMovementMethod(LinkMovementMethod.getInstance());               

Returns:

Html formatted attribution string

public java.util.List <TransitRouteSupplier> getSuppliers ()

Gets the structured information about source data suppliers

Returns:

List of transit route suppliers

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.