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 |
func load(with data: Data) -> MMKMasstransitRoute? |
Instance methods
save(with:)
func save(with route: MMKMasstransitRoute) -> Data |
Serializes the route.
Returns |
Route's serialized representation. Empty array in case of any |
load(with:)
func load(with data: Data) -> MMKMasstransitRoute? |
Deserializes the route.
Returns |
Deserialized Route. Null in case of any errors. |