tilesMaxSpace property
Get maximum storage space/cache size to use for downloaded tiles in kilobytes (Kb).
Returns
- Size in Kb
Throws
- An exception if it fails.
Implementation
static int get tilesMaxSpace {
final OperationResult resultString = staticMethod(
'SdkSettings',
'getTilesMaxSpace',
);
return resultString['result'];
}
Set maximum cache size/storage space to use for downloaded tiles in kilobytes (Kb).
Parameters
- IN maxSpace Size in Kb. If maxSpace is 0 there are no restrictions for tiles space.
Throws
- An exception if it fails.
Implementation
static set tilesMaxSpace(int maxSpace) {
objectMethod(0, 'SdkSettings', 'setTilesMaxSpace', args: maxSpace);
}