MapKit Mobile SDK

Warning

This feature is available in the Full MapKit SDK version

MMKBicycleRouteSerializer

class MMKBicycleRouteSerializer : NSObject

Undocumented

Summary

Class methods

class func save(with route: MMKBicycleRoute) -> Data
Returns a route's serialized representation

class func load(with data: Data) -> MMKBicycleRoute
Returns a deserialized route

Class methods

save(with:)

class func save(with route: MMKBicycleRoute) -> Data

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


load(with:)

class func load(with data: Data) -> MMKBicycleRoute

Returns a deserialized route. Returns null on error.