Class Category

com.yandex.mapkit.search

java.lang.Object ⇽ Category

public class Category

Single category (also known as rubric) description.

Constructors

Category()

Use constructor with parameters in your code.

Category(String name, String categoryClass, List< String > tags)
Category()

Use constructor with parameters in your code.

Category(String name, String categoryClass, List< String > tags)

Methods

synchronized String getCategoryClass()

Category class.

synchronized String getName()

Category name.

String getNativeName()
synchronized List< String > getTags()

Additional non-structured data for the category.

void serialize(Archive archive)
synchronized String getCategoryClass()

Category class.

synchronized String getName()

Category name.

String getNativeName()
synchronized List< String > getTags()

Additional non-structured data for the category.

void serialize(Archive archive)

Constructor Detail

Category

public Category ()

Use constructor with parameters in your code.

This one is for serialization only!

Category

public Category (String name, String categoryClass, List< String > tags)

Method Detail

getCategoryClass

public synchronized String getCategoryClass ()

Category class.

Different categories can have the same class. For example, "Bar", "Cafe" and "Restaurant" categories inhabit "restaurants" category class.Optional field, can be null.

getName

public synchronized String getName ()

Category name.

getNativeName

public static String getNativeName ()

getTags

public synchronized List< String > getTags ()

Additional non-structured data for the category.

serialize

public void serialize (Archive archive)