HERE Android SDK Developer's Guide

PlatformDataRequest

The class PlatformDataRequest is a member of com.here.android.mpa.pde .

Class Summary

public final class PlatformDataRequest

extends java.lang.Object

Runs the Platform Data Extension request with the given parameters.

[For complete information, see the section Class Details]

Nested Class Summary

Table 1. Nested Classes in PlatformDataRequest
Nested Classes

public static class PlatformDataRequest.Error

Represents error reported by the Platform Data Extension server.

public static abstract interface PlatformDataRequest.Listener

Represents an event listener that reports information about the completion of a request.

Method Summary

Table 2. Methods in PlatformDataRequest
Methods

public static PlatformDataRequest createBoundingBoxRequest (Set layers, GeoBoundingBox geoBoundingBox)

Creates a data request with the specified layers and GeoBoundingBox instance.

public static PlatformDataRequest createLinkIdsRequest (Set layers, Set linkIds)

Creates a data request with the specified layers and permanent link ids (see RoadElement).

public void execute (Listener<PlatformDataResult> listener)

Invokes the data request with the specified listener.

Class Details

Runs the Platform Data Extension request with the given parameters.

Method Details

public static PlatformDataRequest createBoundingBoxRequest (Set layers, GeoBoundingBox geoBoundingBox)

Creates a data request with the specified layers and GeoBoundingBox instance.

Parameters:

  • layers

    Names of layers from which the data should be fetched.

  • geoBoundingBox

    Area for which the data should be fetched.

Returns:

PlatformDataRequest instance.

public static PlatformDataRequest createLinkIdsRequest (Set layers, Set linkIds)

Creates a data request with the specified layers and permanent link ids (see RoadElement).

Parameters:

  • layers

    Names of layers from which the data should be fetched.

  • linkIds

    The permanent link ids to be searched in the layers specifed.

Returns:

PlatformDataRequest instance.

public void execute (Listener<PlatformDataResult> listener)

Invokes the data request with the specified listener.

Parameters:

  • listener

    Listener to which the result will be passed.

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.