Package com.mapsindoors.mapssdk
Class MPDataSetCache
- java.lang.Object
-
- com.mapsindoors.mapssdk.MPDataSetCache
-
public class MPDataSetCache extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MPDataSetCacheItemgetCacheItem()Returns theMPDataSetCacheItemassociated with this MPDataSetCache For now a 1-to-1 relation between MPDataSetCache and MPDataSetCacheItems exists but in future versions it will be possible to have a 1-to-n relation.java.lang.StringgetDataSetId()Returns the id of the DataSet (this will be the same as the solutionId)com.mapsindoors.mapssdk.FileCachegetFileCache()Returns theFileCacheassociated with this MPDataSetCache The FileCache contains information about the filesystem references for the items in this cache.MPDataSetCacheScopegetScope()Returns theMPDataSetCacheScopefor this MPDataSetCachejava.lang.StringgetSolutionId()Returns the solution id for this MPDataSetCache (The de facto ID for the MPDataSetCache) seegetDataSetId().voidsetScope(MPDataSetCacheScope scope)Sets theMPDataSetCacheScopefor this MPDataSetCache
-
-
-
Method Detail
-
getCacheItem
public MPDataSetCacheItem getCacheItem()
Returns theMPDataSetCacheItemassociated with this MPDataSetCache For now a 1-to-1 relation between MPDataSetCache and MPDataSetCacheItems exists but in future versions it will be possible to have a 1-to-n relation.- Returns:
MPDataSetCacheItemfor the cache
-
getScope
public MPDataSetCacheScope getScope()
Returns theMPDataSetCacheScopefor this MPDataSetCache- Returns:
MPDataSetCacheScopeIntDef
-
setScope
public void setScope(MPDataSetCacheScope scope)
Sets theMPDataSetCacheScopefor this MPDataSetCache- Parameters:
scope- Scope to set
-
getDataSetId
@NonNull public java.lang.String getDataSetId()
Returns the id of the DataSet (this will be the same as the solutionId)- Returns:
- Dataset id (Solution id)
-
getSolutionId
public java.lang.String getSolutionId()
Returns the solution id for this MPDataSetCache (The de facto ID for the MPDataSetCache) seegetDataSetId().- Returns:
- SolutionId
-
getFileCache
@NonNull public com.mapsindoors.mapssdk.FileCache getFileCache()
Returns theFileCacheassociated with this MPDataSetCache The FileCache contains information about the filesystem references for the items in this cache.- Returns:
FileCacheobject
-
-