Contains information about a weather alert
@since RPC 5.1
Convenience init for all parameters
- (nonnull instancetype)initWithTitle:(nullable NSString *)title
summary:(nullable NSString *)summary
expires:(nullable SDLDateTime *)expires
regions:(nullable NSArray<NSString *> *)regions
severity:(nullable NSString *)severity
timeIssued:(nullable SDLDateTime *)timeIssued;
init(title: String?, summary: String?, expires: SDLDateTime?, regions: [String]?, severity: String?, timeIssued: SDLDateTime?)
The title of the alert
A summary for the alert
The date the alert expires
Regions affected
Severity
The date the alert was issued
A SDLWeatherAlert alert
The title of the alert.
String, Optional
@property (nonatomic, strong, nullable) NSString *title;
var title: String? { get set }
A summary for the alert.
String, Optional
@property (nonatomic, strong, nullable) NSString *summary;
var summary: String? { get set }
The date the alert expires.
SDLDateTime, Optional
@property (nonatomic, strong, nullable) SDLDateTime *expires;
var expires: SDLDateTime? { get set }
Regions affected.
Array of Strings, Optional, minsize=“1” maxsize=“99”
@property (nonatomic, strong, nullable) NSArray<NSString *> *regions;
var regions: [String]? { get set }
Severity of the weather alert.
String, Optional
@property (nonatomic, strong, nullable) NSString *severity;
var severity: String? { get set }
The date the alert was issued.
SDLDateTime, Optional
@property (nonatomic, strong, nullable) SDLDateTime *timeIssued;
var timeIssued: SDLDateTime? { get set }