MMKNavigationSerialization

@interface MMKNavigationSerialization : NSObject

Undocumented

Summary

Class methods

+ (nonnull NSData *)serialize:(nonnull MMKNavigation *)navigation;
Serializes a given instance of Navigation

+ (nullable MMKNavigation *)deserialize:(nonnull NSData *)serializedNavigation;
Deserializes a given instance of Navigation

Class methods

serialize:

+ (nonnull NSData *)serialize:(nonnull MMKNavigation *)navigation;

Serializes a given instance of Navigation.


deserialize:

+ (nullable MMKNavigation *)deserialize:(nonnull NSData *)serializedNavigation;

Deserializes a given instance of Navigation. Navigation will be in the suspended mode. Returns null if deserialization failed.