Warning

This feature is available in the Full MapKit SDK version

MMKSearchEncyclopediaObjectMetadata

@interface MMKSearchEncyclopediaObjectMetadata : NSObject <MMKBaseMetadata>

Snippet with encyclopedia data.

Summary

Class methods

+ (nonnull MMKSearchEncyclopediaObjectMetadata *)encyclopediaObjectMetadataWithTitle:(nullable NSString *)title
                                                                         description:(nullable NSString *)description
                                                                         attribution:(nullable MMKAttribution *)attribution;

Properties

@property (nonatomic, readonly, nullable) NSString *title;
Encyclopedia article title

@property (nonatomic, readonly, nullable) NSString *description;
Encyclopedia article body

@property (nonatomic, readonly, nullable) MMKAttribution *attribution;
Attribution information

Class methods

encyclopediaObjectMetadataWithTitle:description:attribution:

+ (nonnull MMKSearchEncyclopediaObjectMetadata *)encyclopediaObjectMetadataWithTitle:(nullable NSString *)title
                                                                         description:(nullable NSString *)description
                                                                         attribution:(nullable MMKAttribution *)attribution;


Properties

title

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

Encyclopedia article title.

Optional field, can be nil.


description

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

Encyclopedia article body.

Optional field, can be nil.


attribution

@property (nonatomic, readonly, nullable) MMKAttribution *attribution;

Attribution information.

Optional field, can be nil.