PropertyDownloadManager

Constructors

Link copied to clipboard
constructor(@NonNull context: Context, @NonNull mapstedDb: MapstedDb, @NonNull authManager: AuthenticationManager, @NonNull filerRepository: FilerRepository, @NonNull metadataRepository: MetadataRepository, @NonNull privateApi: MapstedPrivateApi, @NonNull webApiClient: WebApiClient)

Types

Link copied to clipboard
Link copied to clipboard
interface Listener
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open fun cancel(propertyId: Int)
Stops a download that has not started yet.
Link copied to clipboard
open fun cancelAll()
Drops every queued request and stops the runner for good (SDK shutdown).
Link copied to clipboard
open fun delete(propertyId: Int)
Link copied to clipboard
open fun enqueue(propertyId: Int, @Nullable listener: PropertyDownloadManager.Listener)
Link copied to clipboard
Link copied to clipboard
open fun isDownloadBuildingRequired(propertyId: Int, buildingId: Int): Boolean
measure if building is required to download or not
Link copied to clipboard
open fun onDestroy()
Link copied to clipboard