HERE Android SDK Developer's Guide

RequestInfo

The class RequestInfo is a member of com.here.android.mpa.guidance.TrafficUpdater.

Class Summary

public static final class TrafficUpdater.RequestInfo

extends java.lang.Object

Holds the error code and request id from a request for traffic.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in RequestInfo
Methods

public Error getError ()

The error code for the request.

public long getRequestId ()

The request id of the request.

Class Details

Holds the error code and request id from a request for traffic.

Method Details

public Error getError ()

The error code for the request.

public long getRequestId ()

The request id of the request. Can be used to cancel a request. Note that this is only valid if error is java.lang.Error#NONE.

See also:

cancelRequest(long)