SwiftfuncWeatherKitWeatherKit.WeatherService
fetchAvailableDataSets
WeatherKit.WeatherService.fetchAvailableDataSets(for: CLLocation, timeZone: Foundation.TimeZone, locationDecimalPrecision: Int?, countryCode: String?, completion: (Result<WeatherKit.AvailableDataSets, Error>) -> ()) -> ()
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
param{}
- 0for:classCLLocation
- 1timeZone:structFoundation.TimeZone
- 2locationDecimalPrecision:enumSwift.Optional
- 3countryCode:enumSwift.Optional
- 4completion:function
(Result<WeatherKit.AvailableDataSets, Error>) -> ()escaping- argexistential
Error
- returnstuple
()