Warning
This feature is available in the Full MapKit SDK version
MMKSearchSubtitleItem
@interface MMKSearchSubtitleItem : NSObject |
Separate subtitle of a certain type.
Summary
Class methods
+ (nonnull MMKSearchSubtitleItem *)subtitleItemWithType:(nonnull NSString *)type |
Properties
@property (nonatomic, readonly, nonnull) NSString *type; |
@property (nonatomic, readonly, nullable) NSString *text; |
@property (nonatomic, readonly, nonnull) NSArray<MRTKeyValuePair *> *properties; |
Class methods
subtitleItemWithType:text:properties:
+ (nonnull MMKSearchSubtitleItem *)subtitleItemWithType:(nonnull NSString *)type |
Properties
type
@property (nonatomic, readonly, nonnull) NSString *type; |
Subtitle type. For example, "exchange".
text
@property (nonatomic, readonly, nullable) NSString *text; |
Short summary text. For example, "USD 57.69/57.3".
Optional field, can be nil.
properties
@property (nonatomic, readonly, nonnull) NSArray<MRTKeyValuePair *> *properties; |
Detailed subtitle info. For example, [ {"key": "currency", "value": "USD"}, {"key": "buy", "value": "57.3"}, {"key": "sell", "value": "57.69"} ].