SwiftprotocolWeatherCore
CoherenceDataManagerType
protocol WeatherCore.CoherenceDataManagerType
Members 11
- func
method descriptor for addLocation(_: WeatherCore.Location, displayContext: WeatherCore.LocationDisplayContext?) async -> WeatherCore.SyncedData - func
method descriptor for commitToDisk(WeatherCore.SyncedData) -> Foundation.Data? - func
method descriptor for getSyncedData() -> WeatherCore.SyncedData? - func
method descriptor for getSyncedData(cachedIfAvailable: Bool) -> WeatherCore.SyncedData? - func
method descriptor for locationID(by: Int) async -> String? - func
method descriptor for makeData(from: WeatherCore.SyncedData) -> Foundation.Data? - func
method descriptor for moveLocation(from: Int, to: Int) async -> WeatherCore.SyncedData - func
method descriptor for removeAll() async -> WeatherCore.SyncedData - func
method descriptor for removeLocation(by: String) async -> WeatherCore.SyncedData - func
method descriptor for removeSyncedData() -> () - func
method descriptor for updateLocationTimeZones(with: [WeatherCore.SavedLocation]) -> WeatherCore.SyncedData?
Header
protocol CoherenceDataManagerType { func addLocation(_: WeatherCore.Location, displayContext: WeatherCore.LocationDisplayContext?) async -> WeatherCore.SyncedData func removeLocation(by: Swift.String) async -> WeatherCore.SyncedData func removeAll() async -> WeatherCore.SyncedData func moveLocation(from: Swift.Int, to: Swift.Int) async -> WeatherCore.SyncedData func getSyncedData() -> WeatherCore.SyncedData? func getSyncedData(cachedIfAvailable: Swift.Bool) -> WeatherCore.SyncedData? func commitToDisk(_: WeatherCore.SyncedData) -> Foundation.Data? func removeSyncedData() func locationID(by: Swift.Int) async -> Swift.String? func makeData(from: WeatherCore.SyncedData) -> Foundation.Data? func updateLocationTimeZones(with: [WeatherCore.SavedLocation]) -> WeatherCore.SyncedData? }