DataProvider

Data provider interface for map display.

Important: This is a Public Preview API. It may be changed or removed at any time.

Functions

Link copied to clipboard
abstract fun canHandle(uri: Uri): Boolean

Checks if the data provider can handle specified URI

Link copied to clipboard
abstract fun close()
Link copied to clipboard
abstract fun requestResource(uri: Uri, allowCaching: Boolean, listener: DataProviderListener): AutoCloseable

Request a resource with a particular URI and caching option.