detailsURL
TypeScriptget detailsURL(): stringSwift declarationvar detailsURL: URLThe site for more details about the weather alert. This is required for attribution.
struct · iOS 16.0+ · SDK 27.1
struct WeatherAlertA weather alert issued for the requested location by a governmental authority. Weather alerts often contains severe weather information; however, not all alerts are severe. Alerts may or may not contain localized descriptions, depending on what is available from the source. Due to data source restrictions, information contained is served raw.
get detailsURL(): stringSwift declarationvar detailsURL: URLThe site for more details about the weather alert. This is required for attribution.
set detailsURL(value: string)Swift declarationvar detailsURL: URLThe site for more details about the weather alert. This is required for attribution.
get region(): (string) | nullSwift declarationvar region: String?The name of the affected area.
set region(value: (string) | null)Swift declarationvar region: String?The name of the affected area.
get source(): stringSwift declarationvar source: StringThe name of the source issuing the weather alert. This is required for attribution.
set source(value: string)Swift declarationvar source: StringThe name of the source issuing the weather alert. This is required for attribution.
get summary(): stringSwift declarationvar summary: StringThe summary of the event type. The summary may or may not contain localized descriptions, depending on what is available from the source.
set summary(value: string)Swift declarationvar summary: StringThe summary of the event type. The summary may or may not contain localized descriptions, depending on what is available from the source.
get metadata(): WeatherMetadataSwift declarationvar metadata: WeatherMetadataDescriptive information about the weather alert data.
set metadata(value: WeatherMetadata)Swift declarationvar metadata: WeatherMetadataDescriptive information about the weather alert data.
get severity(): WeatherSeveritySwift declarationvar severity: WeatherSeverityThe severity of the weather alert.
set severity(value: WeatherSeverity)Swift declarationvar severity: WeatherSeverityThe severity of the weather alert.
No declarations were skipped in this snapshot.