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? = null, val imageURL: String? = null, val names: List<String>, val terms: List<String> = listOf(), val includeCountryCodes: List<String> = listOf(), val excludeCountryCodes: List<String> = listOf(), val isSearchable: Boolean = true, val matchScore: Float = 1.0f, val isSuggestion: Boolean = false, val addTags: Map<String, String> = tags, val removeTags: Map<String, String> = addTags, val preserveTags: List<Regex> = listOf(), val tagKeys: Set<String> = setOf(), val addTagKeys: Set<String> = tagKeys, val removeTagKeys: Set<String> = addTagKeys) : 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.