AutomotiveUiApiKeyConfigVariantExtension

Gradle extension for Automotive UI API key configuration.

Example In a build.gradle.kts file:

androidComponents {
onVariants() { variant ->
variant.automotiveUiApiKeyConfig {
setApiKey(...)
}
}
}

The above example configures the API key per build variant.

Functions

Link copied to clipboard
abstract fun setApiKey(automotiveUiApiKey: ArgumentValueConfig)

Sets the API key for all the Automotive UI online services.

Link copied to clipboard
abstract fun useNoApiKey()

Uses no API key for all the Automotive UI online services.

Inherited functions

Link copied to clipboard

Sets the API key, as a string constant, for all the Automotive UI online services.

Link copied to clipboard

Uses the TomTom-internal Automotive UI API key for all the Automotive UI online services.

Uses the TomTom-internal Automotive UI API key with Deftpower entitlements for all the Automotive UI online services.