RoutesRepository

class RoutesRepository(routesDao: RoutesDao)

Constructors

Link copied to clipboard
constructor(routesDao: RoutesDao)

Functions

Link copied to clipboard
suspend fun deleteRoute(name: String)
Link copied to clipboard
suspend fun getRoute(name: String): RealmResults<RouteData>
Link copied to clipboard
suspend fun getRoutes(): List<RouteData>
Link copied to clipboard
suspend fun getWaypoints(): List<RoutePoint>
Link copied to clipboard
suspend fun getWaypointsNear(location: Location?, kilometre: Double): RealmResults<RoutePoint>
Link copied to clipboard
suspend fun insertRoute(route: RouteData): Boolean
Link copied to clipboard
suspend fun updateRoute(name: RouteData): Any?