Важно

This feature is available in the Full MapKit SDK version

Package com.yandex.mapkit.search

Enum Snippet

java.lang.Object
    ↳ java.lang.Enum
        ↳ com.yandex.mapkit.search.Snippet

final enum Snippet

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.

Enum Constant Summary

Enum Constants

Description

NONE

Default value: no snippets requested.

PHOTOS

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

PANORAMAS

Nearest panoramas to this point.

Summary

Methods

Type and modifiers

Method and Description

static Snippet[]

values()

static Snippet

valueOf(java.lang.String name)

Enum Constants Detail

NONE

static final

Snippet

NONE

Default value: no snippets requested.


PHOTOS

static final

Snippet

PHOTOS

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

See mapkit.search.BusinessPhotoObjectMetadata.


PANORAMAS

static final

Snippet

PANORAMAS

Nearest panoramas to this point.

See mapkit.search.PanoramasObjectMetadata.


Methods

values

Snippet[] values()


valueOf

Snippet valueOf(java.lang.String name)


Предыдущая
Следующая