DownloadedPackagesStoreV1
protocol DownloadedPackagesStoreV1 : AnyObject
Undocumented
-
Undocumented
Declaration
Swift
func open()
-
Undocumented
Declaration
Swift
func close()
-
Undocumented
Declaration
Swift
func set( country: Country.ID, day: String, package: SAPDownloadedPackage, completion: ((SQLiteErrorCode?) -> Void)? )
-
Undocumented
Declaration
Swift
func set(country: Country.ID, hour: Int, day: String, package: SAPDownloadedPackage)
-
Undocumented
Declaration
Swift
func package(for day: String, country: Country.ID) -> SAPDownloadedPackage?
-
Undocumented
Declaration
Swift
func hourlyPackages(for day: String, country: Country.ID) -> [SAPDownloadedPackage]
-
Undocumented
Declaration
Swift
func allDays(country: Country.ID) -> [String]
-
Undocumented
Declaration
Swift
func hours(for day: String, country: Country.ID) -> [Int]
-
Undocumented
Declaration
Swift
func reset()
-
Undocumented
Declaration
Swift
func deleteOutdatedDays(now: String) throws
-
Undocumented
Declaration
Swift
var keyValueStore: Store? { get set }