1
package org.opensatnav.android.services;
3
import org.andnav.osm.util.GeoPoint;
4
import org.opensatnav.android.services.routing.Route;
6
import android.content.Context;
8
public interface Router {
10
public static final String CAR = "motorcar";
11
public static final String BICYCLE = "bicycle";
12
public static final String WALKING = "foot";
19
* where the user wants to go
21
* one of the vehicle constants (CAR, BICYCLE or WALKING)
23
* reference to caller (used to get the name and version
24
* number of the program to add the user agent in network ops)
25
* @return a route which may contain geopoints and optionally route instructions)
27
public abstract Route getRoute(GeoPoint from, GeoPoint to, String vehicle, Context context);
b'\\ No newline at end of file'