public abstract class IAWayfinder
extends java.lang.Object
Constructor and Description |
---|
IAWayfinder() |
Modifier and Type | Method and Description |
---|---|
abstract void |
close()
Close the IAWayfinder.
|
static IAWayfinder |
create(Context context,
java.lang.String graphJSON)
Recommended constructor.
|
abstract IARoutingLeg[] |
getRoute()
Get the route from the current location to the specified destination.
|
abstract void |
setDestination(double latitude,
double longitude,
int floor)
Set the destination of the wayfinding route.
|
abstract void |
setLocation(double latitude,
double longitude,
int floor)
Set the current location of the wayfinding route.
|
public static IAWayfinder create(Context context, java.lang.String graphJSON)
IAWayfinder
.graphJSON
- The wayfinding graph as a JSON stringcontext
- Application contextpublic abstract void setDestination(double latitude, double longitude, int floor)
latitude
- Latitude of the destinationlongitude
- Longitude of the destinationfloor
- Floor of the destinationpublic abstract void setLocation(double latitude, double longitude, int floor)
latitude
- Latitude of the starting locationlongitude
- Longitude of the starting locationfloor
- Floor of the starting locationpublic abstract IARoutingLeg[] getRoute()
destination
and the
location
must be set before calling
this method.location
and the destination
or if using invalid credentials for
positioning.public abstract void close()
IllegalStateException
.