Warning
This feature is available in the Full MapKit SDK version
MMKMasstransitTransportThreadAlert
@interface MMKMasstransitTransportThreadAlert : NSObject |
TransportThreadAlert are important annotations for mass transit ride sections of routes.
Summary
Class methods
+ (nonnull MMKMasstransitTransportThreadAlert *)transportThreadAlertWithText:(nonnull NSString *)text |
Properties
@property (nonatomic, readonly, nonnull) NSString *text; |
@property (nonatomic, readonly, nullable) |
@property (nonatomic, readonly, nullable) |
@property (nonatomic, readonly, nullable) |
Class methods
transportThreadAlertWithText:closed:closedUntil:lastTrip:
+ (nonnull MMKMasstransitTransportThreadAlert *)transportThreadAlertWithText:(nonnull NSString *)text |
Properties
text
@property (nonatomic, readonly, nonnull) NSString *text; |
Standard alert text. Simple clients could use this text to get a pre-formatted message. If the client is unable to recognize the known structured alert, it should use the text field instead.
closed
@property (nonatomic, readonly, nullable) |
The value is set if the thread is not operational on that day. Only one of the values close, closedUntil and lastTrip is set for an alert.
Optional field, can be nil.
closedUntil
@property (nonatomic, readonly, nullable) |
The value is set if the thread is not operational until the specified time. Only one of the values close, closedUntil and lastTrip is set for an alert.
Optional field, can be nil.
lastTrip
@property (nonatomic, readonly, nullable) |
The value is set if this trip is the last trip for the thread. Only one of the values close, closedUntil and lastTrip is set for an alert.
Optional field, can be nil.