MMKSearchWorkingHoursState
Warning
This feature is available in the Full MapKit SDK version
|
@interface MMKSearchWorkingHoursState : NSObject |
Describes if an organization is open or closed now.
Summary
Class methods
|
+ (nonnull MMKSearchWorkingHoursState *)workingHoursStateWithIsOpenNow:(nullable NSNumber *)isOpenNow |
Properties
|
@property (nonatomic, readonly, nullable) NSNumber *isOpenNow; |
|
@property (nonatomic, readonly, nullable) NSString *text; |
|
@property (nonatomic, readonly, nullable) NSString *shortText; |
|
@property (nonatomic, readonly, nonnull) NSArray<NSString *> *tags; |
Class methods
workingHoursStateWithIsOpenNow:text:shortText:tags:
|
+ (nonnull MMKSearchWorkingHoursState *)workingHoursStateWithIsOpenNow:(nullable NSNumber *)isOpenNow |
Properties
isOpenNow
|
@property (nonatomic, readonly, nullable) NSNumber *isOpenNow; |
Is open right now.
Optional field, can be nil.
text
|
@property (nonatomic, readonly, nullable) NSString *text; |
Human-readable localized description of current state.
Optional field, can be nil.
shortText
|
@property (nonatomic, readonly, nullable) NSString *shortText; |
Human-readable short localized description of current state.
Optional field, can be nil.
tags
|
@property (nonatomic, readonly, nonnull) NSArray<NSString *> *tags; |
One of the following 3 tags: 'break', 'opening_soon', 'closing_soon'. Additional tag values may be added eventually.