Warning

This feature is available in the Full MapKit SDK version

MMKSearchSubtitleItem

class MMKSearchSubtitleItem : NSObject

Separate subtitle of a certain type.

Summary

Class methods

 init(type: String, text: String?, properties: [MRTKeyValuePair])

Properties

var type: String { get }
Subtitle type

var text: String? { get }
Short summary text

var properties: [MRTKeyValuePair] { get }
Detailed subtitle info

Class methods

init(type:text:properties:)

 init(type: String, text: String?, properties: [MRTKeyValuePair])


Properties

type

var type: String { get }

Subtitle type. For example, "exchange".


text

var text: String? { get }

Short summary text. For example, "USD 57.69/57.3".

Optional field, can be nil.


properties

var properties: [MRTKeyValuePair] { get }

Detailed subtitle info. For example, [ {"key": "currency", "value": "USD"}, {"key": "buy", "value": "57.3"}, {"key": "sell", "value": "57.69"} ].