Warning

This feature is available in the Full MapKit SDK version

MMKMasstransitRouteSerializer

class MMKMasstransitRouteSerializer : NSObject

Undocumented

Summary

Instance methods

func save(with route: MMKMasstransitRoute) -> Data
Serializes the route

func load(with data: Data) -> MMKMasstransitRoute?
Deserializes the route

Instance methods

save(with:)

func save(with route: MMKMasstransitRoute) -> Data

Serializes the route.

Returns

Route's serialized representation. Empty array in case of any
errors.


load(with:)

func load(with data: Data) -> MMKMasstransitRoute?

Deserializes the route.

Returns

Deserialized Route. Null in case of any errors.