Category

class Category(geocodingCanonicalName: String, sbsCanonicalName: String, presentation: Category.Presentation) : Parcelable

Experimental API, can be changed or removed in the next SDK releases.

Represents a category of POI. This class also defines a list of commonly used categories.

Constructors

Category
Link copied to clipboard
fun Category(geocodingCanonicalName: String, sbsCanonicalName: String, presentation: Category.Presentation)

Types

Presentation
Link copied to clipboard
class Presentation(@StringRes() displayName: Int, @DrawableRes() icon: Int) : Parcelable
Represents a category visual presentation like name and icon.

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

geocodingCanonicalName
Link copied to clipboard
val geocodingCanonicalName: String
Category canonical name used in Geocoding API.
presentation
Link copied to clipboard
val presentation: Category.Presentation
Category visual presentation.
sbsCanonicalName
Link copied to clipboard
val sbsCanonicalName: String
Category canonical name used in Single Box Search API.