Важно
This feature is available in the Full MapKit SDK version
YMKSearchWorkingHoursState
class YMKSearchWorkingHoursState : NSObject |
Describes if an organization is open or closed now.
Summary
Class methods
init(isOpenNow: NSNumber?, text: String?, shortText: String?, tags: [String]) |
Properties
var isOpenNow: NSNumber? { get } |
var text: String? { get } |
var shortText: String? { get } |
var tags: [String] { get } |
Class methods
init(isOpenNow:text:shortText:tags:)
init(isOpenNow: NSNumber?, text: String?, shortText: String?, tags: [String]) |
Properties
isOpenNow
var isOpenNow: NSNumber? { get } |
Is open right now.
Optional field, can be nil.
text
var text: String? { get } |
Human-readable localized description of current state.
Optional field, can be nil.
shortText
var shortText: String? { get } |
Human-readable short localized description of current state.
Optional field, can be nil.
tags
var tags: [String] { get } |
One of the following 3 tags: 'break', 'opening_soon', 'closing_soon'. Additional tag values may be added eventually.