HERE Android SDK Developer's Guide

DeserializationResult

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

Class Summary

public static class Route.DeserializationResult

extends java.lang.Object

Represents the result of a Route de-serialization

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in DeserializationResult
Constructors

DeserializationResult ()

Field Summary

Table 2. Fields in DeserializationResult
Fields

public SerializerError error

Route.SerializerError indicating the failure reason, if a failure occurred.

public Route route

A valid Route object or null if the deserialization fails.

Class Details

Represents the result of a Route de-serialization

IMPORTANT: Route serialization is a Beta feature. The related classes are subject to change without notice.

Constructor Details

DeserializationResult ()

Field Details

public SerializerError error

Route.SerializerError indicating the failure reason, if a failure occurred.

public Route route

A valid Route object or null if the deserialization fails. The deserialization fails when the map version from which the route was serialized does not match current map version, the SDK version from which the route was serialized is not compatible with current SDK version, or when the input data is empty or corrupted.