Skip to content

STRUCT

IPSDataCacheType

public struct IPSDataCacheType

Represents a category of SDK cache data that can be cleared via IPSDataManager.clearCacheByType(_:onSuccess:onError:) or IPSDataManager.clearCacheForBuildingByType(_:types:onSuccess:onError:).

  • Since: 9.9.0

Properties

public static var navigation: IPSDataCacheType

The navigation data: the navigation graphs used to calculate routes.

positioning

public static var positioning: IPSDataCacheType

The positioning data: the map grids and the obstacles used by the positioning engine.

buildingData

public static var buildingData: IPSDataCacheType

The buildings data: buildings, floors and their metadata, floor images, floor transitions, regions, obstacle polygons and coordinate converters.

plai

public static var plai: IPSDataCacheType

The PLAI data: products and product categories.

coordinatesConversion

public static var coordinatesConversion: IPSDataCacheType

The cached coordinate converters, used to convert between indoor and world coordinates.

This data is also cleared by buildingData. Use this type to clear only the converters and keep the rest of the building data.

telemetry

public static var telemetry: IPSDataCacheType

The data that the SDK recorded on this device and did not upload yet: the logs and the recorded positioning sessions.

This type is not bound to any building - even when passed to clearCacheForBuildingByType, it will clear this data for all buildings.

regions

public static var regions: IPSDataCacheType

The cached building regions: the regular regions, the analytics regions and the regions ignored in PLAI.

This data is also cleared by buildingData. Use this type to clear only the regions and keep the rest of the building data.