EncodedTileSource

abstract class EncodedTileSource(val id: String, var authenticator: XweatherAuthenticator? = null) : TileSource<DataType>

EncodedTileSource.kt

Adapted from IOS version

Author

Suto on 01/08/23.

Inheritors

Constructors

Link copied to clipboard
constructor(id: String, authenticator: XweatherAuthenticator? = null)

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val eventDispatcher: EventDispatcher
Link copied to clipboard
open override 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
open override val kind: DataSourceKind
Link copied to clipboard
open override var maxZoom: Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract var metaDataNeeded: Boolean
Link copied to clipboard
open override var metadataURL: String?
Link copied to clipboard
open override var minZoom: Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val requests: HashMap<String, Task>
Link copied to clipboard
open override val tileCache: TileCache<DataType>
Link copied to clipboard
open override val tileManager: TileRequestManager<DataType>
Link copied to clipboard
Link copied to clipboard
open override var tileSize: TileSize
Link copied to clipboard
Link copied to clipboard
open override var tileURL: String?
Link copied to clipboard
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
Link copied to clipboard
abstract suspend fun fetchMetadata()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getMetadataURL(): URL?
Link copied to clipboard
fun <DataType : TileData> TileSource<DataType>.init(id: String, authenticator: Authenticator<MediaSession.Token>?)
Link copied to clipboard

Returns the metadata for the specified channel, if available.

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
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