PreferenceManager

Functions

Link copied to clipboard
open fun addRoutingOptions(routingOptions: RoutingOptions)
Adds RoutingOptions to the shared preferences
Link copied to clipboard
Clears Itinerary Preferences from the shared preference
Link copied to clipboard
Reloads distance and time preferences
Link copied to clipboard
Link copied to clipboard
* Get mapPerspective preference
Link copied to clipboard
open fun getMapTypeOption(): Int
* Get baseMapStyle preference
Link copied to clipboard
Gets Route Options from the shared preferences
Link copied to clipboard
Gets Route Options from the shared preferences in json form
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setDistancePreferences(value: Int)
Sets distance preferences
Link copied to clipboard
open fun setMapPerspective(mapPerspective: Int)
Store user map 3d option preference
Link copied to clipboard
open fun setMapTypeOption(baseMapStyle: Int)
Store user base map style preference
Link copied to clipboard
open fun setSpeechVoice(status: Boolean)
Sets speech voice status
Link copied to clipboard
Link copied to clipboard
Sets time preferences