Package com.yandex.mapkit.map

Interface BaseTileDataSourceBuilder

All known Subinterfaces:

TileDataSourceBuilder

interface BaseTileDataSourceBuilder

Summary

Methods

Type and modifiers

Method and Description

void

setTileUrlProvider(@NonNull UrlProvider urlProvider)
The class does not retain the object in the 'urlProvider' parameter.

void

setTileProvider(@NonNull TileProvider tileProvider)
The class does not retain the object in the 'tileProvider' parameter.

void

setImageUrlProvider(@NonNull ImageUrlProvider urlProvider)
The class does not retain the object in the 'urlProvider' parameter.

void

setProjection(@NonNull Projection projection)

void

setZoomRanges(@NonNull java.util.List<ZoomRange> zoomRanges)

void

setTileFormat(@NonNull TileFormat format)

boolean

isValid()
Tells if this BaseTileDataSourceBuilder is valid or not.

Methods

setTileUrlProvider

void setTileUrlProvider(@NonNull UrlProvider urlProvider)

The class does not retain the object in the 'urlProvider' parameter.

It is your responsibility to maintain a strong reference to the target object while it is attached to a class.


setTileProvider

void setTileProvider(@NonNull TileProvider tileProvider)

The class does not retain the object in the 'tileProvider' parameter.

It is your responsibility to maintain a strong reference to the target object while it is attached to a class.


setImageUrlProvider

void setImageUrlProvider(@NonNull ImageUrlProvider urlProvider)

The class does not retain the object in the 'urlProvider' parameter.

It is your responsibility to maintain a strong reference to the target object while it is attached to a class.


setProjection

void setProjection(@NonNull Projection projection)


setZoomRanges

void setZoomRanges(@NonNull java.util.List<ZoomRange> zoomRanges)


setTileFormat

void setTileFormat(@NonNull TileFormat format)


isValid

boolean isValid()

Tells if this BaseTileDataSourceBuilder is valid or not.

Any other method (except for this one) called on an invalid BaseTileDataSourceBuilder will throw java.lang.RuntimeException. An instance becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.