YMKOfflineCacheRegion

class YMKOfflineCacheRegion : NSObject

Примечание

This feature is not available in the free MapKit version.

Summary

Class methods

 init(id: UInt,
    name: String,
 country: String,
  center: YMKPoint,
    size: YMKLocalizedValue,
 releaseTime: Date,
 parentId: NSNumber?)

Properties

var id: UInt { get }
Region ID

var name: String { get }
Name of the region

var country: String { get }
Country of the region

var centerYMKPoint { get }
Center point

var sizeYMKLocalizedValue { get }
Region size

var releaseTime: Date { get }
Returns the region creation time

var parentId: NSNumber? { get }
Region id of the parent region

Class methods

init(id:name:country:center:size:releaseTime:parentId:)

 init(id: UInt,
    name: String,
 country: String,
  center: YMKPoint,
    size: YMKLocalizedValue,
 releaseTime: Date,
 parentId: NSNumber?)


Properties

id

var id: UInt { get }

Region ID.


name

var name: String { get }

Name of the region.


country

var country: String { get }

Country of the region.


center

var center: YMKPoint { get }

Center point.


size

var size: YMKLocalizedValue { get }

Region size


releaseTime

var releaseTime: Date { get }

Returns the region creation time.


parentId

var parentId: NSNumber? { get }

Region id of the parent region.

Optional field, can be nil.


Предыдущая
Следующая