Warning

This feature is available in the Full MapKit SDK version

MMKSearchWorkingHours

@interface MMKSearchWorkingHours : NSObject

Open hours for an organization.

Summary

Class methods

+ (nonnull MMKSearchWorkingHours *)workingHoursWithText:(nonnull NSString *)text
                                         availabilities:(nonnull NSArray<MMKSearchAvailability *> *)availabilities
                                                  state:(nullable MMKSearchWorkingHoursState *)state;

Properties

@property (nonatomic, readonly, nonnull) NSString *text;
Human-readable localized open hours description

@property (nonatomic, readonly, nonnull)
    NSArray<MMKSearchAvailability *> *availabilities;

Structured open hours information

@property (nonatomic, readonly, nullable) MMKSearchWorkingHoursState *state;
Current company working status

Optional field, can be nil

Class methods

workingHoursWithText:availabilities:state:

+ (nonnull MMKSearchWorkingHours *)workingHoursWithText:(nonnull NSString *)text
                                         availabilities:(nonnull NSArray<MMKSearchAvailability *> *)availabilities
                                                  state:(nullable MMKSearchWorkingHoursState *)state;


Properties

text

@property (nonatomic, readonly, nonnull) NSString *text;

Human-readable localized open hours description.


availabilities

@property (nonatomic, readonly, nonnull)
    NSArray<MMKSearchAvailability *> *availabilities;

Structured open hours information.


state

@property (nonatomic, readonly, nullable) MMKSearchWorkingHoursState *state;

Current company working status

Optional field, can be nil.