Interface RouteSerializer

com.yandex.mapkit.directions.driving

public interface RouteSerializer

Route serializer interface.

Methods

DrivingRoute load(@NonNull byte[] data)

This method returns null if given a saved route from an incompatible version of MapKit.

byte[] save(@NonNull DrivingRoute route)

This method saves the route.

Method Detail

load

public DrivingRoute load (@NonNull byte[] data)

This method returns null if given a saved route from an incompatible version of MapKit.

save

public byte[] save (@NonNull DrivingRoute route)

This method saves the route.