MPDataSetCache

open class MPDataSetCache

Functions

Link copied to clipboard
open fun getCacheItem(): MPDataSetCacheItem
Returns the MPDataSetCacheItem 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.
Link copied to clipboard
open fun getDataSetId(): String
Returns the id of the DataSet (this will be the same as the solutionId)
Link copied to clipboard
open fun getFileCache(): FileCache
Returns the FileCache associated with this MPDataSetCache The FileCache contains information about the filesystem references for the items in this cache.
Link copied to clipboard
open fun getScope(): MPDataSetCacheScope
Returns the MPDataSetCacheScope for this MPDataSetCache
Link copied to clipboard
open fun getSolutionId(): String
Returns the solution id for this MPDataSetCache (The de facto ID for the MPDataSetCache) see getDataSetId.
Link copied to clipboard
open fun setScope(@NonNull context: Context, @NonNull scope: MPDataSetCacheScope)
Sets the MPDataSetCacheScope for this MPDataSetCache