Inheritance diagram for DataSetHelper:Classes | |
| enum | DataSetAction |
Public Member Functions | |
| DataSetHelper (String dataSetName, boolean isMultipleCountryDataSet, String maptripDirPath, DataSetHelperListener l) | |
| DataSetHelper (String dataSetName, DataSetHelperListener l, String maptripDirPath) | |
| long | getCompleteUpdateDataSize () |
| List< DataSetCountry > | getCountryData () |
| int | getInstalledCountries () |
| boolean | isOnlyDelete () |
| boolean | isUpdateAvailable () |
| void | restartDownloadSelection () |
| void | setCountryFilter (List< String > filter) |
| void | startDownload () |
| void | startDownloadSelection () |
| void | startInstall () |
| void | startQuery () |
| void | taskFinished (BaseTask task) |
| void | taskProgress (BaseTask task) |
information and can be updated from time to time If the check sees a mandatory update the update of the map must be done by the application
| DataSetHelper | ( | String | dataSetName, |
| boolean | isMultipleCountryDataSet, | ||
| String | maptripDirPath, | ||
| DataSetHelperListener | l | ||
| ) |
| DataSetHelper | ( | String | dataSetName, |
| DataSetHelperListener | l, | ||
| String | maptripDirPath | ||
| ) |
| long getCompleteUpdateDataSize | ( | ) |
| List< DataSetCountry > getCountryData | ( | ) |
| int getInstalledCountries | ( | ) |
| boolean isOnlyDelete | ( | ) |
return true if selection of dataset will only delete
| boolean isUpdateAvailable | ( | ) |
| void restartDownloadSelection | ( | ) |
| void setCountryFilter | ( | List< String > | filter | ) |
counties in the list will appear as downloadable - e.g: for licence limitations
| filter | - List if 3Letter ISO countries that will be ignored |
| void startDownload | ( | ) |
download the data from the update package
| void startDownloadSelection | ( | ) |
| void startInstall | ( | ) |
start installation. after successful install the api must be reinitialized to work correctly. don't call startInstall with a running map. Be sure that no API function is called when calling startInstall()!!!!!
| void startQuery | ( | ) |
start query to check every dataset ( in dataSetHelperFile )if an update is available
| void taskFinished | ( | BaseTask | task | ) |
Called as soon as the task is finished.
| task | - the task that is calculated, it can be used to obtain the return value and dependent on the task, a possible result object |
Implements TaskListener.
| void taskProgress | ( | BaseTask | task | ) |
regularly called while the task is progressing. The calling frequency depends on the specific calculation of the task.
| task | - the task that is calculated, it can be used to obtain the progress value |
Implements TaskListener.