Warning

This feature is available in the Full MapKit SDK version

MMKSearchLink

@interface MMKSearchLink : NSObject

Link structure. Combines actual link with attribution and type info.

Summary

Class methods

+ (nonnull MMKSearchLink *)linkWithAref:(nullable NSString *)aref
                                   link:(nonnull MMKAttributionLink *)link
                                    tag:(nullable NSString *)tag;

Properties

@property (nonatomic, readonly, nullable) NSString *aref;
Attribution reference

@property (nonatomic, readonly, nonnull) MMKAttributionLink *link;
Actual link

@property (nonatomic, readonly, nullable) NSString *tag;
Link tag

Class methods

linkWithAref:link:tag:

+ (nonnull MMKSearchLink *)linkWithAref:(nullable NSString *)aref
                                   link:(nonnull MMKAttributionLink *)link
                                    tag:(nullable NSString *)tag;


Properties

aref

@property (nonatomic, readonly, nullable) NSString *aref;

Attribution reference.

Optional field, can be nil.


@property (nonatomic, readonly, nonnull) MMKAttributionLink *link;

Actual link.


tag

@property (nonatomic, readonly, nullable) NSString *tag;

Link tag. Possible values (non-exhaustive) 'self/social/attribution/showtimes/booking'.

Optional field, can be nil.