Mapsted Android SDK 26.8.1
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Mapsted Android SDK 26.8.1
android-sdk-ui
/
com.mapsted.ui.save_routes_ui
/
SavedRoutesViewModel
Saved
Routes
View
Model
open
class
SavedRoutesViewModel
(
dbHelper
:
SavedRouteDbHelper
)
:
ViewModel
Members
Constructors
Saved
Routes
View
Model
Link copied to clipboard
constructor
(
dbHelper
:
SavedRouteDbHelper
)
Types
Route
Delete
State
Link copied to clipboard
sealed
class
RouteDeleteState
Route
Edit
State
Link copied to clipboard
sealed
class
RouteEditState
Route
Exist
State
Link copied to clipboard
sealed
class
RouteExistState
Route
Save
State
Link copied to clipboard
sealed
class
RouteSaveState
Route
Ui
State
Link copied to clipboard
sealed
class
RouteUiState
Properties
delete
Result
State
Link copied to clipboard
val
deleteResultState
:
StateFlow
<
SavedRoutesViewModel.RouteDeleteState
>
edit
Result
State
Link copied to clipboard
val
editResultState
:
StateFlow
<
SavedRoutesViewModel.RouteEditState
>
exist
Result
State
Link copied to clipboard
val
existResultState
:
StateFlow
<
SavedRoutesViewModel.RouteExistState
>
insert
Result
State
Link copied to clipboard
val
insertResultState
:
StateFlow
<
SavedRoutesViewModel.RouteSaveState
>
saved
Routes
State
Link copied to clipboard
val
savedRoutesState
:
StateFlow
<
SavedRoutesViewModel.RouteUiState
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
delete
Saved
Route
Link copied to clipboard
fun
deleteSavedRoute
(
routeId
:
Int
)
does
Route
Exist
Link copied to clipboard
fun
doesRouteExist
(
itinerary
:
String
)
get
Closeable
Link copied to clipboard
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
get
Saved
Routes
Link copied to clipboard
fun
getSavedRoutes
(
propertyId
:
Int
)
insert
Saved
Route
Link copied to clipboard
fun
insertSavedRoute
(
savedRouteItem
:
SavedRouteItem
)
refresh
Tag
Data
In
Saved
Route
Link copied to clipboard
fun
refreshTagDataInSavedRoute
(
tag
:
Tag
,
callback
:
Consumer
<
Boolean
>
)
reset
Delete
State
Link copied to clipboard
fun
resetDeleteState
(
)
reset
Edit
State
Link copied to clipboard
fun
resetEditState
(
)
reset
Exist
State
Link copied to clipboard
fun
resetExistState
(
)
reset
Insert
State
Link copied to clipboard
fun
resetInsertState
(
)
update
Route
Name
Link copied to clipboard
fun
updateRouteName
(
routeId
:
Int
,
newRouteName
:
String
)