Companion
object Companion
Properties
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.