Важно
This feature is available in the Full MapKit SDK version
Package com.yandex.mapkit.search
Class SubtitleItem
java.lang.Object
↳ com.yandex.mapkit.search.SubtitleItem
class SubtitleItem implements Serializable
Separate subtitle of a certain type.
Summary
Constructors
Signature and Description |
SubtitleItem() |
SubtitleItem(@NonNull java.lang.String type, |
Methods
Type and modifiers |
Method and Description |
|
getType() |
|
getText() |
|
getProperties() |
void |
serialize(com.yandex.runtime.bindings.Archive archive) |
|
Constuctors
SubtitleItem
SubtitleItem() |
Use constructor with parameters in your code.
This one is for serialization only!
SubtitleItem
SubtitleItem(@NonNull java.lang.String type, |
Methods
getType
@NonNull |
Subtitle type.
For example, "exchange".
getText
@Nullable |
Short summary text.
For example, "USD 57.69/57.3".
Optional field, can be null.
getProperties
@NonNull |
Detailed subtitle info.
For example, [ {"key": "currency", "value": "USD"}, {"key": "buy", "value": "57.3"}, {"key": "sell", "value": "57.69"} ].
serialize
@Override |
getNativeName
java.lang.String getNativeName() |