VisioMove SDK (Android)
2.1.22
|
Public Member Functions | |
double | getLength () |
VgManeuverType | getManeuverType () |
String | getLayer () |
float | getHeight () |
String | getModality () |
float | getTime () |
float | getTotalTime () |
float | getETA () |
float | getDuration () |
long | getIndex () |
VgPosition | getPosition () |
VgNearPlaceVector | getNearPlaces () |
boolean | isEndOrTransitionPoint () |
VgPositionVector | getInstructionPositions () |
VgStringSet | getAttributes () |
long | getDestinationIndex () |
![]() | |
synchronized void | release () |
VgReferenced () | |
VgReferenced (VgReferenced pThis) | |
void | ref () |
int | unref () |
int | getNbReferences () |
The VgINavigationListener allow users to be notified of Navigation related events that occur within a VgINavigation Object where the listener has been registered.
VgStringSet VgINavigationInstruction.getAttributes | ( | ) |
Returns all the attributes of the traversed edges in a std::set. Includes result of "edge" the current and the next layer if applicable. The current VisioMapEditor floor transition attributes are "stairway", "escalator", and "lift".
long VgINavigationInstruction.getDestinationIndex | ( | ) |
Gets the index of the current destination instruction, the index is 0-based, thus always less than VgINavigation->getNumInstructions().
float VgINavigationInstruction.getDuration | ( | ) |
Gets the duration.
float VgINavigationInstruction.getETA | ( | ) |
Gets the estimated remaining time in seconds (at start of this instruction).
float VgINavigationInstruction.getHeight | ( | ) |
Gets the height of the instruction in meters. This is the same as getting the layer name and using VgMapModule::getHeightRangeForLayer() and taking the average.
long VgINavigationInstruction.getIndex | ( | ) |
Gets the index of the instruction, the index is 0-based, thus always less than VgINavigation->getNumInstructions().
VgPositionVector VgINavigationInstruction.getInstructionPositions | ( | ) |
Returns all the intermediate positions of the instruction.
String VgINavigationInstruction.getLayer | ( | ) |
Gets the layer name of the instruction.
double VgINavigationInstruction.getLength | ( | ) |
Gets the distance between start of this instruction to the start of the next instruction.
VgManeuverType VgINavigationInstruction.getManeuverType | ( | ) |
Gets the maneuver type to perform at end of the instruction.
References VgManeuverType.swigToEnum().
String VgINavigationInstruction.getModality | ( | ) |
Gets the name of the used modality.
VgNearPlaceVector VgINavigationInstruction.getNearPlaces | ( | ) |
Get the PlaceIDs of places near the end of the instruction. This information is useful to complement the navigation instructions. They are ordered by places that are closests to the inside of turns for natural guidance. The number of places available will be a function of the value of VgModalityParameterType::eNearPlacesThreshold at the time the navigation instructions where computed. It may be empty if there are no places that are closer than VgModalityParameterType::eNearPlacesThreshold.
VgPosition VgINavigationInstruction.getPosition | ( | ) |
Gets the position of the start of the instruction
float VgINavigationInstruction.getTime | ( | ) |
Gets the time (not duration) relative to full route start.
float VgINavigationInstruction.getTotalTime | ( | ) |
Gets the total duration of the route.
boolean VgINavigationInstruction.isEndOrTransitionPoint | ( | ) |