YMKSearchSnippet

Warning

This feature is available in the Full MapKit SDK version

struct YMKSearchSnippet : OptionSet, @unchecked Sendable

Requested snippets bitmask.

Snippets are additional pieces of information (possibly from different services) which are not directly stored in object metadata but may be requested separately based on client needs.

Different snippets are applicable to different objects: some of the snippets can be provided only for toponyms, some for businesses and some for all object types.

Summary

Enum cases

static var photosYMKSearchSnippet { get }
Related photos snippet (can be requested for a business or toponym)

static var businessRating1xYMKSearchSnippet { get }
Information about ratings (can be requested for a business)

static var panoramasYMKSearchSnippet { get }
Nearest panoramas to this point

Enum cases

photos

static var photos: YMKSearchSnippet { get }

Related photos snippet (can be requested for a business or toponym). See YMKSearchBusinessPhotoObjectMetadata.


businessRating1x

static var businessRating1x: YMKSearchSnippet { get }

Information about ratings (can be requested for a business). See YMKSearchBusinessRating1xObjectMetadata.


panoramas

static var panoramas: YMKSearchSnippet { get }

Nearest panoramas to this point. See YMKSearchPanoramasObjectMetadata.