AutomotiveUiApiKeyConfigVariantExtension
interface 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.
Content copied to clipboard
Functions
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.
Link copied to clipboard
Uses the TomTom-internal Automotive UI API key with Deftpower entitlements for all the Automotive UI online services.