Warning

This feature is available in the Full MapKit SDK version

YMKSearchLink

@interface YMKSearchLink : NSObject

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

Summary

Class methods

+ (nonnull YMKSearchLink *)linkWithAref:(nullable NSString *)aref
                                   link:(nonnull YMKAttributionLink *)link
                                    tag:(nullable NSString *)tag;

Properties

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

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

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

Class methods

linkWithAref:link:tag:

+ (nonnull YMKSearchLink *)linkWithAref:(nullable NSString *)aref
                                   link:(nonnull YMKAttributionLink *)link
                                    tag:(nullable NSString *)tag;


Properties

aref

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

Attribution reference.

Optional field, can be nil.


@property (nonatomic, readonly, nonnull) YMKAttributionLink *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.