Package com.mapfactor.sdk.data
Interface DataDeleteListener
public interface DataDeleteListener
App data delete progress listener
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onDeleteFailed
(AppDataManager.DeleteErrorCode deleteErrorCode) Called when data deleting has failedvoid
Called when all files were successfully deletedvoid
onDeleteProgress
(String dataId, String dataName, int iFile, int numFiles, boolean success) App data delete progressvoid
Called after app data were deleted and internal engines were restarted
-
Method Details
-
onDeleteProgress
void onDeleteProgress(@NonNull String dataId, @NonNull String dataName, int iFile, int numFiles, boolean success) App data delete progress- Parameters:
dataId
- deleted data IddataName
- deleted data nameiFile
- sequence of deleted data (iFile out of numFiles)numFiles
- total files count being deleted (iFile out of numFiles)success
- true/false file deletion succeeded- Since:
- 1.0
-
onDeleteFinished
void onDeleteFinished()Called when all files were successfully deleted- Since:
- 1.0
-
onDeleteFailed
Called when data deleting has failed- Parameters:
deleteErrorCode
- error code- Since:
- 1.0
-
onEngineRestarted
void onEngineRestarted()Called after app data were deleted and internal engines were restarted- Since:
- 1.0
-