TileStore

extension TileStore
  • Checks if all OfflineRegions in current TileStore contain latest version of Navigation tiles.

    This method iterates all existing OfflineRegions. If any of the regions have older version of nav tiles or do not have them at all - it will report false.

    Note

    The user-provided callbacks will be executed on a TileStore-controlled worker thread; it is the responsibility of the user to dispatch to a user-controlled thread.

    Declaration

    Swift

    public func containsLatestNavigationTiles(completion: @escaping ContainsCompletion)

    Parameters

    completion

    A completion callback, reporting the result. nil is returned if error occured during the process.

  • Checks if a tile region with the given id contains latest version of Navigation tiles.

    Note

    The user-provided callbacks will be executed on a TileStore-controlled worker thread; it is the responsibility of the user to dispatch to a user-controlled thread.

    Declaration

    Swift

    public func tileRegionContainsLatestNavigationTiles(forId regionId: String,
                                                        completion: @escaping ContainsCompletion)

    Parameters

    regionId

    The tile region identifier.

    completion

    The result callback. If error occured - nil will be returned.