Warning

This feature is available in the Full MapKit SDK version

MMKSearchSort

@interface MMKSearchSort : NSObject

Describes response sort.

Summary

Class methods

+ (nonnull MMKSearchSort *)sortWithType:( MMKSearchSortType)type
                                 origin:(nullable NSNumber *)origin;

Properties

@property (nonatomic, readonly) MMKSearchSortType type;
Sorting type

@property (nonatomic, readonly, nullable) NSNumber *origin;
Sort origin (if results are ordered by distance)

Class methods

sortWithType:origin:

+ (nonnull MMKSearchSort *)sortWithType:( MMKSearchSortType)type
                                 origin:(nullable NSNumber *)origin;


Properties

type

@property (nonatomic, readonly) MMKSearchSortType type;

Sorting type.


origin

@property (nonatomic, readonly, nullable) NSNumber *origin;

Sort origin (if results are ordered by distance).

Optional field, can be nil.