//sdk-realtime/me.oriient.ipssdk.ips/IPSDataManager
IPSDataManager
[androidJvm]\ open class IPSDataManager
This class represents the data management service that can be used to prepare all the information required to perform positioning ahead of time to ensure frictionless user experience.
As an application developer you do not have to use this service as IPSPositioning service will anyway download all the necessary data when start positioning is requested.
If the business logic of your application allows you to identify the building in which a positioning session will take place ahead of time you can give the SDK a head start so that when the IPSPositioning.startPositioning() is called we can start immediately, even without an Internet connection.
Since
4.3.0
Functions
| Name | Summary |
|---|---|
| addDataStatusObserver | [androidJvm] open fun addDataStatusObserver(observer: IPSDataStatusObserver) This method is used to add an observer to receive data status updates and relevant errors. |
| cancelAllBuildingsDataPreparation | [androidJvm] open fun cancelAllBuildingsDataPreparation() Cancel all requested data preparations. |
| cancelDataPreparation | [androidJvm] open fun cancelDataPreparation(buildingId: String) Cancel preparing the data required for positioning in the building. |
| clearAllCaches | [androidJvm] open fun clearAllCaches(listener: IPSCompletionListener) A method to clear the SDK caches: maps, buildings, logs, images. |
| clearCacheByType | [androidJvm] open fun clearCacheByType(@NonNulldataTypes: Array<Int>, @NonNulllistener: IPSCompletionListener) Clear the cached data of the given types for all the buildings. |
| clearCacheForBuildingByType | [androidJvm] open fun clearCacheForBuildingByType(@NonNullbuildingId: String, @NonNulldataTypes: Array<Int>, @NonNulllistener: IPSCompletionListener) Clear the cached data of the given types for a specific building. |
| clearData | [androidJvm] open fun clearData(buildingId: String) Clear the data prepared for positioning in the building. |
| getDataStatus | [androidJvm] open fun getDataStatus(buildingId: String, listener: IPSDataStatusListener) Provides the status of the data required for positioning in the specific building. |
| prepareData | [androidJvm] open fun prepareData(buildingId: String) Start preparing the data required for positioning in the building. |
| removeDataStatusObserver | [androidJvm] open fun removeDataStatusObserver(observer: IPSDataStatusObserver) This method is used to remove an observer and stop receiving related updates. |