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_IMAGES

Related images (can be requested for a business).

BUSINESS_LIST

Businesses at this address (can be requested for a toponym).

BUSINESS_RATING1X

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

BUSINESS_RATING2X

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

DRIVING_ARRIVAL_POINTS

DrivingArrivalPoints snippet.

EXCHANGE

Currency exchange snippet.

EXPERIMENTAL

Experimental snippets.

FUEL

Fuel snippet.

MASS_TRANSIT

Nearest mass transit stops to this point.

NEARBY_STOPS

Nearest mass transit stops.

NONE

Default value: no snippets requested.

PANORAMAS

Nearest panoramas to this point.

PHOTOS

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

REFERENCES

References to external IDs.

RELATED_PLACES

Related businesses (can be requested for a business).

ROUTE_DISTANCES

Route times and distances for different transport types for this point.

ROUTER

Available routing types for this point.

SUBTITLE

Subtitle snippet.

valueSample value.

Constructor Detail

Snippet

public Snippet (int value)

Field Detail

BUSINESS_IMAGES

public BUSINESS_IMAGES =(1 << 10)

Related images (can be requested for a business).

BUSINESS_LIST

public BUSINESS_LIST =(1 << 3)

Businesses at this address (can be requested for a toponym).

See BusinessListObjectMetadata.

BUSINESS_RATING1X

public BUSINESS_RATING1X =(1 << 1)

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

See BusinessRating1xObjectMetadata.

BUSINESS_RATING2X

public BUSINESS_RATING2X =(1 << 2)

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

See BusinessRating2xObjectMetadata.

DRIVING_ARRIVAL_POINTS

public DRIVING_ARRIVAL_POINTS =(1 << 16)

DrivingArrivalPoints snippet.

See DrivingArrivalPointsMetadata.

EXCHANGE

public EXCHANGE =(1 << 13)

Currency exchange snippet.

See CurrencyExchangeMetadata.

EXPERIMENTAL

public EXPERIMENTAL =(1 << 7)

Experimental snippets.

Do not use.

FUEL

public FUEL =(1 << 12)

Fuel snippet.

See FuelMetadata.

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.

PANORAMAS

public PANORAMAS =(1 << 5)

Nearest panoramas to this point.

See PanoramasObjectMetadata.

PHOTOS

public PHOTOS =(1)

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

See BusinessPhotoObjectMetadata.

REFERENCES

public REFERENCES =(1 << 11)

References to external IDs.

ROUTER

public ROUTER =(1 << 4)

Available routing types for this point.

See RouterObjectMetadata.

ROUTE_DISTANCES

public ROUTE_DISTANCES =(1 << 8)

Route times and distances for different transport types for this point.

See RouteDistancesObjectMetadata.

SUBTITLE

public SUBTITLE =(1 << 15)

Subtitle snippet.

See SubtitleMetadata.

value

public