Companion

object Companion

Properties

Link copied to clipboard
const val defaultAudioEnabled: Boolean = true
Link copied to clipboard
Link copied to clipboard
const val defaultMetric: Boolean = true
Link copied to clipboard
const val defaultTTSMode: Boolean = true
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val TAG: String

Functions

Link copied to clipboard
fun getInstance(appContext: Context? = null, audioFilesBasePath: String? = null, navigationIconPath: String? = null): Navigation

Gets the singleton instance of the Navigation and initializes the engine when appContext is passed.

Link copied to clipboard
fun saveDefaultParameters(appContext: Context, defaultLanguageCode: Locale = this.defaultLanguage, defaultTTSMode: Boolean = this.defaultTTSMode, defaultAudioEnabled: Boolean = this.defaultAudioEnabled, defaultMetric: Boolean = this.defaultMetric)

Save defaults parameters values using the Settings module. After saving these values, new Navigation singleton's instance will use them by default.