OfflineMapsViewModel

class OfflineMapsViewModel @AssistedInject constructor(val appContext: Context, @Assisted locationDescription: LocationDescription) : ViewModel

Constructors

Link copied to clipboard
@AssistedInject
constructor(appContext: Context, @Assisted locationDescription: LocationDescription)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
@AssistedFactory
interface Factory

Properties

Link copied to clipboard
Link copied to clipboard
lateinit var downloadState: StateFlow<DownloadState>
Link copied to clipboard
Link copied to clipboard
val uiState: StateFlow<OfflineMapsUiState>

Functions

Link copied to clipboard
open fun addCloseable(closeable: AutoCloseable)
fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard
Link copied to clipboard
fun delete(feature: Feature)
Link copied to clipboard
fun download(name: String, feature: Feature)
Link copied to clipboard
Link copied to clipboard