Важно
This feature is available in the Full MapKit SDK version
Package com.yandex.mapkit.search
Class State
java.lang.Object
↳ com.yandex.mapkit.search.State
class State implements Serializable
Describes if an organization is open or closed now.
Summary
Constructors
Signature and Description |
State() |
State(@Nullable java.lang.Boolean isOpenNow, |
Methods
Type and modifiers |
Method and Description |
|
getIsOpenNow() |
|
getText() |
|
getShortText() |
|
getTags() |
void |
serialize(com.yandex.runtime.bindings.Archive archive) |
|
Constuctors
State
State() |
Use constructor with parameters in your code.
This one is for serialization only!
State
State(@Nullable java.lang.Boolean isOpenNow, |
Methods
getIsOpenNow
@Nullable |
Is open right now.
Optional field, can be null.
getText
@Nullable |
Human-readable localized description of current state.
Optional field, can be null.
getShortText
@Nullable |
Human-readable short localized description of current state.
Optional field, can be null.
getTags
@NonNull |
One of the following 3 tags: 'break', 'opening_soon', 'closing_soon'.
Additional tag values may be added eventually.
serialize
@Override |
getNativeName
java.lang.String getNativeName() |