deserializeFromBytes
fun deserializeFromBytes(data: ByteArray): Result<NavigationResumeSnapshot, NavigationResumeSnapshotSerializationFailure>
Deserializes the byte array data into NavigationResumeSnapshot object.
For details on resuming a navigation session, see the TomTomNavigation.resume method.
Return
A deserialized NavigationResumeSnapshot object or NavigationResumeSnapshotFailure in the case of a deserialization failure.
Parameters
data
The byte array representation of a serialized NavigationResumeSnapshot.