Warning
This feature is available in the Full MapKit SDK version
MMKMasstransitRouteSerializer
@interface MMKMasstransitRouteSerializer : NSObject |
Undocumented
Summary
Instance methods
- (nonnull NSData *)saveWithRoute:(nonnull MMKMasstransitRoute *)route; |
- (nullable MMKMasstransitRoute *)loadWithData:(nonnull NSData *)data; |
Instance methods
saveWithRoute:
- (nonnull NSData *)saveWithRoute:(nonnull MMKMasstransitRoute *)route; |
Serializes the route.
Returns |
Route's serialized representation. Empty array in case of any |
loadWithData:
- (nullable MMKMasstransitRoute *)loadWithData:(nonnull NSData *)data; |
Deserializes the route.
Returns |
Deserialized Route. Null in case of any errors. |