toggle menu
app
androidJvm
switch theme
search in API
app
/
org.scottishtecharmy.soundscape.database.local.dao
/
RoutesDao
Routes
Dao
class
RoutesDao
(
realm
:
Realm
)
Members
Constructors
Routes
Dao
Link copied to clipboard
constructor
(
realm
:
Realm
)
Functions
delete
Route
Link copied to clipboard
suspend
fun
deleteRoute
(
name
:
String
)
get
Route
Link copied to clipboard
fun
getRoute
(
name
:
String
)
:
RealmResults
<
RouteData
>
get
Routes
Link copied to clipboard
fun
getRoutes
(
)
:
List
<
RouteData
>
get
Waypoints
Link copied to clipboard
fun
getWaypoints
(
)
:
List
<
RoutePoint
>
get
Waypoints
Near
Link copied to clipboard
fun
getWaypointsNear
(
location
:
Location
?
,
kilometre
:
Double
)
:
RealmResults
<
RoutePoint
>
insert
Route
Link copied to clipboard
suspend
fun
insertRoute
(
route
:
RouteData
)
:
Boolean
update
Route
Link copied to clipboard
suspend
fun
updateRoute
(
route
:
RouteData
)
:
Any
?