Важно

This feature is available in the Full MapKit SDK version

YMKSearchSubtitleItem

class YMKSearchSubtitleItem : NSObject

Separate subtitle of a certain type.

Summary

Class methods

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

Properties

var type: String { get }
Subtitle type

var text: String? { get }
Short summary text

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

Class methods

init(type:text:properties:)

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


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: [YRTKeyValuePair] { get }

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


Предыдущая
Следующая