DataProvider

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
interface DataProvider : AutoCloseable

Data provider interface for map display.

Important: this interface are not stable for inheritance.

Functions

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

Checks if the data provider can handle specified URI.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
abstract fun requestResource(uri: Uri, allowCaching: Boolean, listener: DataProviderListener): AutoCloseable

Request a resource with a particular URI and caching option.

Inherited functions

Link copied to clipboard
abstract fun close()