JsonConfigBuilder

class JsonConfigBuilder @JvmOverloads constructor(jsonConfig: String? = null)

Builder class for creating json configuration String used to initialize SygicEngine.

Constructors

Link copied to clipboard
fun JsonConfigBuilder(jsonConfig: String? = null)

Optional jsonConfig can be used to populate the JsonConfigBuilder with data in the provided json string.

Functions

Link copied to clipboard
fun audio(audioBuild: Audio.Builder.() -> Unit)
Link copied to clipboard

Adds Authentication section to the json config. appKey is mandatory. Any previous Authentication section (i.e. added from initial json config) will be replaced.

Link copied to clipboard
fun build(): String

Builds json config String.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun logging(loggingBuild: LoggingSettings.Builder.() -> Unit)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun online(onlineBuild: Online.Builder.() -> Unit)
Link copied to clipboard
fun routing(routingBuild: Routing.Builder.() -> Unit)
Link copied to clipboard