TerritoryManager | iOS SDK | 2GIS Documentation

TerritoryManager

Interface for interacting with the territories list: subscribe to changes of information about territories; search for territories by coordinates and geometry; subscribe to changes of information about the overall progress of territory installation/renewal; suspend and resume the territory installation/renewal process.

Extends: Hashable
public static func == (lhs: TerritoryManager, rhs: TerritoryManager) -> Bool

Returns a Boolean value indicating whether two values are equal.

Methods
Properties
StatefulChannel<[Territory]>

Channel with the list of all known territories. Refreshed if information about at least one of the territories is changed, or if list composition is changed. The content of the channel is a subset of the common list of packages obtained from IPackageManager::packages. To avoid packege descriptions being unsynchronized, you should not use data received simultaneously from multiple channels that contain subsets of the common packege list.r::packages.

Channel with the list of all known territories. Refreshed if information about at least one of the territories is changed, or if list composition is changed. The content of the channel is a subset of the common list of packages obtained from IPackageManager::packages. To avoid packege descriptions being unsynchronized, you should not use data received simultaneously from multiple channels that contain subsets of the common packege list.r::packages.