Class RegionData

com.yandex.mapkit.offline_cache

java.lang.Object ⇽ RegionData

public class RegionData

Attention.

This feature is not available in the free MapKit version.

Constructors

RegionData()

Use constructor with parameters in your code.

RegionData(int id, String name, String country, List< String > cities, Point center, LocalizedValue size, List< RegionFile > files, long releaseTime, RegionState state, boolean outdated)
RegionData()

Use constructor with parameters in your code.

RegionData(int id, String name, String country, List< String > cities, Point center, LocalizedValue size, List< RegionFile > files, long releaseTime, RegionState state, boolean outdated)

Methods

synchronized Point getCenter()
synchronized List< String > getCities()
synchronized String getCountry()
synchronized List< RegionFile > getFiles()
synchronized int getId()
synchronized String getName()
String getNativeName()
synchronized boolean getOutdated()
synchronized long getReleaseTime()
synchronized LocalizedValue getSize()
synchronized RegionState getState()
void serialize(Archive archive)
synchronized Point getCenter()
synchronized List< String > getCities()
synchronized String getCountry()
synchronized List< RegionFile > getFiles()
synchronized int getId()
synchronized String getName()
String getNativeName()
synchronized boolean getOutdated()
synchronized long getReleaseTime()
synchronized LocalizedValue getSize()
synchronized RegionState getState()
void serialize(Archive archive)

Constructor Detail

RegionData

public RegionData ()

Use constructor with parameters in your code.

This one is for serialization only!

RegionData

public RegionData (int id, String name, String country, List< String > cities, Point center, LocalizedValue size, List< RegionFile > files, long releaseTime, RegionState state, boolean outdated)

Method Detail

getCenter

public synchronized Point getCenter ()

getCities

public synchronized List< String > getCities ()

getCountry

public synchronized String getCountry ()

getFiles

public synchronized List< RegionFile > getFiles ()

getId

public synchronized int getId ()

getName

public synchronized String getName ()

getNativeName

public static String getNativeName ()

getOutdated

public synchronized boolean getOutdated ()

getReleaseTime

public synchronized long getReleaseTime ()

getSize

public synchronized LocalizedValue getSize ()

getState

public synchronized RegionState getState ()

serialize

public void serialize (Archive archive)