NavigationResumeSnapshotRenewer
The NavigationResumeSnapshotRenewer
interface is responsible for the preservation and resumption of navigation sessions. It handles the saving and loading of navigation snapshots.
When the com.tomtom.sdk.navigation.NavigationState changes to com.tomtom.sdk.navigation.NavigationState.ActiveGuidance, NavigationResumeSnapshotRenewer
begins periodically saving the navigation resume snapshot and responding to the following events from com.tomtom.sdk.navigation.TomTomNavigation:
Update from RouteUpdatedListener.
Update from WaypointArrivalListener.
Update from ActiveRouteChangedListener. The interval of the periodic saves is specified in NavigationResumeSnapshotRenewerOptions.saveInterval.
Important: This is a Public Preview API. It may be changed or removed at any time.
Functions
Loads the previously saved navigation resume snapshot without restoring the navigation session.
Loads the previously saved navigation resume snapshot and restores the navigation session by calling com.tomtom.sdk.navigation.TomTomNavigation.resume method.
Saves the navigation resume snapshot manually.