Package-level declarations
Types
Link copied to clipboard
data class BaseFeature(val id: String, val tags: Map<String, String>, val geometry: List<GeometryType>, val icon: String?, val imageURL: String?, val names: List<String>, val terms: List<String>, val includeCountryCodes: List<String>, val excludeCountryCodes: List<String>, val isSearchable: Boolean, val matchScore: Float, val isSuggestion: Boolean, val addTags: Map<String, String>, val removeTags: Map<String, String>, val preserveTags: List<Regex>) : Feature
Data class associated with the Feature interface. Represents a non-localized feature.
Link copied to clipboard
class FeatureDictionary
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class LocalizedFeature(p: BaseFeature, val language: String?, val names: List<String>, val terms: List<String>) : Feature
Data class associated with the Feature interface. Represents a localized feature.
Link copied to clipboard
interface ResourceAccessAdapter
Functions
Link copied to clipboard
fun FeatureDictionary.Companion.create(assetManager: AssetManager, presetsBasePath: String, brandPresetsBasePath: String? = null): FeatureDictionary
Create a new FeatureDictionary which gets its data from the given directory in the app's asset folder. Optionally, the path to the brand presets can be specified.