WeatherAlertMessage
@available(swift 4.2)
@available(iOS 10.0, tvOS 10.0, watchOS 3.0, macOS 10.12, *)
open class WeatherAlertMessage : FitMessage
FIT Weather Alert Message
-
FIT Message Global Number
Declaration
Swift
public override class func globalMessageNumber() -> UInt16
-
Report ID
Unique identifier from GCS report ID
Declaration
Swift
@FitField private(set) public var reportID: String? { get set }
-
Issue Time
Time alert was issued
Declaration
Swift
@FitFieldTime private(set) public var issueTime: FitTime? { get set }
-
Expire Time
Time alert expires
Declaration
Swift
@FitFieldTime private(set) public var expireTime: FitTime? { get set }
-
Weather Severity
Declaration
Swift
@FitField private(set) public var severity: WeatherSeverity? { get set }
-
Alert Type
Declaration
Swift
@FitField private(set) public var alertType: WeatherSeverityType? { get set }
-
Timestamp
Declaration
Swift
@FitFieldTime private(set) public var timeStamp: FitTime? { get set }
-
Undocumented
Declaration
Swift
public required init()
-
Undocumented
Declaration
Swift
public convenience init(timeStamp: FitTime? = nil, reportID: String? = nil, issueTime: FitTime? = nil, expireTime: FitTime? = nil, severity: WeatherSeverity? = nil, alertType: WeatherSeverityType? = nil)