suspend

fun suspend(inMaxTime: Long = 2000): Boolean

This method attempts to suspend the navigation thread in order to keep the current navigation position data which contains among other information pointers on current position, route and route sheet.

Return

true if success, false otherwise

Parameters

inMaxTime

The maximum time (in milliseconds) this method can spend trying to suspend the guidance thread (default value is 2000 milliseconds)