Warning

This feature is available in the Full MapKit SDK version

MMKBicycleRouteSerializer

@interface MMKBicycleRouteSerializer : NSObject

Undocumented

Summary

Class methods

+ (nonnull NSData *)saveWithRoute:(nonnull MMKBicycleRoute *)route;
Returns a route's serialized representation

+ (nonnull MMKBicycleRoute *)loadWithData:(nonnull NSData *)data;
Returns a deserialized route

Class methods

saveWithRoute:

+ (nonnull NSData *)saveWithRoute:(nonnull MMKBicycleRoute *)route;

Returns a route's serialized representation. Returns an empty array if there are any errors.


loadWithData:

+ (nonnull MMKBicycleRoute *)loadWithData:(nonnull NSData *)data;

Returns a deserialized route. Returns null on error.