AdvancedMarkersAndRoutesSettingsViewModel

class AdvancedMarkersAndRoutesSettingsViewModel @Inject constructor(soundscapeServiceConnection: SoundscapeServiceConnection, routeDao: RouteDao) : ViewModel

Constructors

@Inject
constructor(soundscapeServiceConnection: SoundscapeServiceConnection, routeDao: RouteDao)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val importEvent: SharedFlow<Unit>
Link copied to clipboard
val userFeedback: StateFlow<String>

Functions

Link copied to clipboard
open fun addCloseable(closeable: AutoCloseable)
fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard
fun deleteAllMarkersAndRoutes(context: Context, successString: String)
Link copied to clipboard
fun exportMarkersAndRoutes(context: Context, message: String)
Link copied to clipboard
Link copied to clipboard
fun importMarkersAndRoutes(context: Context, uri: Uri, successString: String, failureString: String)
Link copied to clipboard
fun triggerImport(context: Context)
Link copied to clipboard