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 MPDataSetCacheItem
getCacheItem()
Returns theMPDataSetCacheItem
associated 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.String
getDataSetId()
Returns the id of the DataSet (this will be the same as the solutionId)com.mapsindoors.mapssdk.FileCache
getFileCache()
Returns theFileCache
associated with this MPDataSetCache The FileCache contains information about the filesystem references for the items in this cache.MPDataSetCacheScope
getScope()
Returns theMPDataSetCacheScope
for this MPDataSetCachejava.lang.String
getSolutionId()
Returns the solution id for this MPDataSetCache (The de facto ID for the MPDataSetCache) seegetDataSetId()
.void
setScope(MPDataSetCacheScope scope)
Sets theMPDataSetCacheScope
for this MPDataSetCache
-
-
-
Method Detail
-
getCacheItem
public MPDataSetCacheItem getCacheItem()
Returns theMPDataSetCacheItem
associated 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:
MPDataSetCacheItem
for the cache
-
getScope
public MPDataSetCacheScope getScope()
Returns theMPDataSetCacheScope
for this MPDataSetCache- Returns:
MPDataSetCacheScope
IntDef
-
setScope
public void setScope(MPDataSetCacheScope scope)
Sets theMPDataSetCacheScope
for 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 theFileCache
associated with this MPDataSetCache The FileCache contains information about the filesystem references for the items in this cache.- Returns:
FileCache
object
-
-