Warning
This feature is available in the NaviKit SDK version.
Package world.mappable.mapkit.navigation.automotive
Class NavigationSerialization
java.lang.Object
↳ world.mappable.mapkit.navigation.automotive.NavigationSerialization
class NavigationSerialization
Summary
Constructors
Signature and Description |
Methods
Type and modifiers |
Method and Description |
|
serialize(@NonNull Navigation navigation) |
|
deserialize(@NonNull byte[] serializedNavigation) |
Constuctors
NavigationSerialization
NavigationSerialization() |
Methods
serialize
@NonNull |
Serializes a given instance of Navigation.
deserialize
@Nullable |
Deserializes a given instance of Navigation.
Navigation will be in the suspended mode. Returns null if deserialization failed.