backend/failedRequestManager library
Classes
- FailedRequestmanager
- Haupt-Klasse, die den Upload orchestriert und im UI aufgerufen wird.
- GroupedInspection
- Repräsentiert eine gruppierte Inspektion mit allen relevanten Informationen
- SyncProgress
- Hilfsklasse, um globale und Inspektions-spezifische Upload-Fortschritte samt ETA zu verwalten.
Properties
- sync_in_progress_str → String
-
final
- sync_progress_str → String
-
final
- sync_success_str → String
-
final
Functions
-
cacheInspectionDocumentsForDownload(
InspectionLocation location, {DownloadProgressSession? progressSession, String? scope, DocumentCacheLookup? readCachedDocument, DocumentDownloadLookup? downloadDocument}) → Future< bool> -
cacheInspectionImagesForDownload(
List< Data> assets, {DownloadProgressSession? progressSession, ImageCacheLookup? readCachedImage, ImageDownloadLookup? downloadImage}) → Future<bool> -
deleteInspectionFromDevice(
InspectionLocation inspection) → Future< void> -
preserveExistingDocumentsForDownload(
InspectionLocation current, InspectionLocation refreshed) → void -
selectRefreshedInspectionForDownload(
InspectionLocation current, List< InspectionLocation> refreshed) → InspectionLocation?
Typedefs
-
DocumentCacheLookup
= Future<
File?> Function(String path, String scope) -
DocumentDownloadLookup
= Future<
File?> Function(String path, InspectionLocation owner, String scope) -
ImageCacheLookup
= Future<
ImageData< Function(String hash, Data owner)Object> ?> -
ImageDownloadLookup
= Future<
ImageData< Function(String hash, Data owner)Object> ?>