TileSource

TileSource.kt

Author

by Jason Suto on 12/12/23.

Inheritors

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract val id: String
Link copied to clipboard
abstract val isLoading: Boolean
Link copied to clipboard
abstract override val isReady: Boolean
Link copied to clipboard
Link copied to clipboard
abstract val kind: DataSourceKind
Link copied to clipboard
abstract val maxZoom: Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract var metaDataNeeded: Boolean
Link copied to clipboard
abstract val metadataURL: String?
Link copied to clipboard
abstract val minZoom: Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract val tileManager: TileRequestManager<DataType>
Link copied to clipboard
Link copied to clipboard
abstract val tileSize: TileSize
Link copied to clipboard
Link copied to clipboard
abstract val tileURL: String?
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun addConsumer(consumer: DataSourceConsumer)
Link copied to clipboard
abstract fun contains(coord: TileCoord): Boolean
Link copied to clipboard
Link copied to clipboard
abstract suspend fun fetchMetadata()
Link copied to clipboard
abstract fun getMetadataURL(): URL?
Link copied to clipboard
fun <DataType : TileData> TileSource<DataType>.init(id: String, authenticator: Authenticator<MediaSession.Token>?)
Link copied to clipboard
abstract suspend fun parseTile(tile: TileType, data: ByteArray, headers: Headers?): Bitmap
Link copied to clipboard
abstract fun prepareMetadataRequest(request: URLRequest)
Link copied to clipboard
abstract fun prepareTileRequest(request: URLRequest)
Link copied to clipboard
inline fun <EventType : Event> EventSource.publisher(eventType: Class<EventType>): Flow<EventType>
Link copied to clipboard
abstract fun removeConsumer(consumer: DataSourceConsumer)
Link copied to clipboard
abstract suspend fun requestTile(coord: TileCoord, options: TileRequestOptions): Any?
Link copied to clipboard
abstract suspend fun shouldRequestTile(tile: TileType, reload: Boolean): Boolean
Link copied to clipboard
Link copied to clipboard
inline suspend fun <EventType : Event> EventSource.subscribe(eventType: Class<EventType>, crossinline handler: (EventType) -> Unit)
Link copied to clipboard