RoutesDao

class RoutesDao(realm: Realm)

Constructors

Link copied to clipboard
constructor(realm: Realm)

Functions

Link copied to clipboard
suspend fun deleteMarker(objectId: ObjectId)
Link copied to clipboard
suspend fun deleteRoute(objectId: ObjectId)
Link copied to clipboard
fun getMarker(objectId: ObjectId): RealmResults<MarkerData>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getMarkersNear(location: Location?, kilometre: Double): RealmResults<MarkerData>
Link copied to clipboard
fun getRoute(name: String): RealmResults<RouteData>
fun getRoute(objectId: ObjectId): RealmResults<RouteData>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun insertMarker(waypoint: MarkerData): Boolean
Link copied to clipboard
suspend fun insertRoute(route: RouteData): Boolean
Link copied to clipboard
suspend fun updateMarker(marker: MarkerData): Any?
Link copied to clipboard
suspend fun updateRoute(route: RouteData): Any?