app
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
app
app
/
org.scottishtecharmy.soundscape.viewmodels
/
OfflineMapsViewModel
Offline
Maps
View
Model
class
OfflineMapsViewModel
@
AssistedInject
constructor
(
val
appContext
:
Context
,
@
Assisted
locationDescription
:
LocationDescription
)
:
ViewModel
Members
Constructors
Offline
Maps
View
Model
Link copied to clipboard
@
AssistedInject
constructor
(
appContext
:
Context
,
@
Assisted
locationDescription
:
LocationDescription
)
Types
Companion
Link copied to clipboard
object
Companion
Factory
Link copied to clipboard
@
AssistedFactory
interface
Factory
Properties
app
Context
Link copied to clipboard
val
appContext
:
Context
download
State
Link copied to clipboard
lateinit
var
downloadState
:
StateFlow
<
DownloadState
>
offline
Downloader
Link copied to clipboard
lateinit
var
offlineDownloader
:
OfflineDownloader
ui
State
Link copied to clipboard
val
uiState
:
StateFlow
<
OfflineMapsUiState
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
cancel
Download
Link copied to clipboard
fun
cancelDownload
(
)
delete
Link copied to clipboard
fun
delete
(
feature
:
Feature
)
download
Link copied to clipboard
fun
download
(
name
:
String
,
feature
:
Feature
)
get
Closeable
Link copied to clipboard
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
refresh
Extracts
Link copied to clipboard
fun
refreshExtracts
(
)