MapKit Mobile SDK

Warning

This feature is available in the Full MapKit SDK version

MMKSearchCategory

class MMKSearchCategory : NSObject

Single category (also known as rubric) description.

Summary

Class methods

 init(name: String, categoryClass: String?, tags: [String])

Properties

var name: String { get }
Category name

var categoryClass: String? { get }
Category class

var tags: [String] { get }
Additional non-structured data for the category

Class methods

init(name:categoryClass:tags:)

 init(name: String, categoryClass: String?, tags: [String])


Properties

name

var name: String { get }

Category name.


categoryClass

var categoryClass: String? { get }

Category class. Different categories can have the same class. For example, "Bar", "Cafe" and "Restaurant" categories inhabit "restaurants" category class.

Optional field, can be nil.


tags

var tags: [String] { get }

Additional non-structured data for the category.