getInstalledRegions abstract method
Method to get a list of map regions that are currently installed on the device.
Throws if it's not possible to return list of installed regions. Returned list contains:
- successfully downloaded regions, indicated by InstalledRegionStatus.installed in InstalledRegion.status;
- regions, that are in the download process, indicated by InstalledRegionStatus.pending in InstalledRegion.status;
- regions, which were failed to be downloaded, indicated by InstalledRegionStatus.pending in InstalledRegion.status. Note: precise Japan content is stored in separate catalog on the HERE platform, and when corresponding region is downloaded, then the status of siblings and parent regions is set to the InstalledRegionStatus.pending in InstalledRegion.status. Precise Japan content is available as an additional offering, please contact sales team for more information.
Returns List<InstalledRegion>. List of IDs of regions that are installed on the device
Throws MapLoaderExceptionException. Specifies reason, why list of installed regions is not returned.
Implementation
List<InstalledRegion> getInstalledRegions();