YMKSearchSnippet

Warning

This feature is available in the Full MapKit SDK version

enum YMKSearchSnippet : NSUInteger {}

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

YMKSearchSnippetNone = 0
Default value: no snippets requested

YMKSearchSnippetPhotos = 1
Related photos snippet (can be requested for a business or toponym)

YMKSearchSnippetBusinessRating1x = 1 << 1
Information about ratings (can be requested for a business)

YMKSearchSnippetPanoramas = 1 << 5
Nearest panoramas to this point

Enum cases

YMKSearchSnippetNone

YMKSearchSnippetNone = 0

Default value: no snippets requested.


YMKSearchSnippetPhotos

YMKSearchSnippetPhotos = 1

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


YMKSearchSnippetBusinessRating1x

YMKSearchSnippetBusinessRating1x = 1 << 1

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


YMKSearchSnippetPanoramas

YMKSearchSnippetPanoramas = 1 << 5

Nearest panoramas to this point. See YMKSearchPanoramasObjectMetadata.