HERE Android SDK Developer's Guide

SerializationResult

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

Class Summary

public static class Route.SerializationResult

extends java.lang.Object

Represents the result of a Route serialization

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in SerializationResult
Constructors

SerializationResult ()

Field Summary

Table 2. Fields in SerializationResult
Fields

public byte[] data

A byte array representing the serialized route or null if the operation failed

public SerializerError error

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

Class Details

Represents the result of a Route serialization

When serializing a route with many waypoints, use an android.os.android.os.AsyncTask to avoid blockage on the main thread

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

Constructor Details

SerializationResult ()

Field Details

public byte[] data

A byte array representing the serialized route or null if the operation failed

public SerializerError error

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