LongRoutesOptimisationOptions
Controls if the Nav SDK behaves in a regular or an optimised way.
Types
Link copied to clipboard
This option keeps default behavior. Use this option if your app doesn't fail with OutOfMemoryError because of heavy routes models.
Link copied to clipboard
data class OptimiseNavigationForLongRoutes(val responseToParseSizeBytes: Int) : LongRoutesOptimisationOptions
Content copied to clipboard
This option enables optimised behaviour of the Navigation SDK. The optimised behaviour let the Nav SDK handle heavy routes without OutOfMemoryError. The optimised behavior is different from regular in the following ways: