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{}

  1. 0for:
  2. 1timeZone:
  3. 2locationDecimalPrecision:
  4. 3countryCode:
  5. 4completion:
    function(Result<WeatherKit.AvailableDataSets, Error>) -> ()escaping