Enum Snippet

com.yandex.mapkit.search

public 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.

Constructors

Snippet(int value)

Fields

BUSINESS_RATING2X

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

EXCHANGE

Currency exchange snippet.

FUEL

Fuel snippet.

GOODS1X

Goods snippet.

MASS_TRANSIT

Nearest mass transit stops to this point.

NEARBY_STOPS

Nearest mass transit stops.

NONE

Default value: no snippets requested.

REFERENCES

References to external IDs.

RELATED_PLACES

Related businesses (can be requested for a business).

ROUTE_POINT

RoutePoint snippet.

SHOWTIMES

Showtimes snippet.

SUBTITLE

Subtitle snippet.

valueSample value.

Constructor Detail

Snippet

public Snippet (int value)

Field Detail

BUSINESS_RATING2X

public BUSINESS_RATING2X =(1 << 2)

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

See BusinessRating2xObjectMetadata.

EXCHANGE

public EXCHANGE =(1 << 13)

Currency exchange snippet.

See CurrencyExchangeMetadata.

FUEL

public FUEL =(1 << 12)

Fuel snippet.

See FuelMetadata.

GOODS1X

public GOODS1X =(1 << 19)

Goods snippet.

See Goods1xObjectMetadata.

MASS_TRANSIT

public MASS_TRANSIT =(1 << 6)

Nearest mass transit stops to this point.

See MassTransit1xObjectMetadata.

NEARBY_STOPS

public NEARBY_STOPS =(1 << 14)

Nearest mass transit stops.

Provides more detailed information about mass transit lines compared to the Masstransit snippet.

NONE

public NONE =(0)

Default value: no snippets requested.

REFERENCES

public REFERENCES =(1 << 11)

References to external IDs.

ROUTE_POINT

public ROUTE_POINT =(1 << 16)

RoutePoint snippet.

See RoutePointMetadata.

SHOWTIMES

public SHOWTIMES =(1 << 17)

Showtimes snippet.

See ShowtimesObjectMetadata.

SUBTITLE

public SUBTITLE =(1 << 15)

Subtitle snippet.

See SubtitleMetadata.

value

public