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
Constructors |
---|
Field Summary
Fields |
---|
Route.SerializerError indicating the failure reason, if a failure occurred. |
A valid Route object or |
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.