Loading...
Searching...
No Matches
com.navigine.idl.java.RouteEvent Class Reference

Class is used for storing the route path events. More...

Public Member Functions

 RouteEvent (RouteEventType type, int value, float distance)
 Default constructor for class RouteEvent.
 
RouteEventType getType ()
 Incoming event type RouteEventType.
 
int getValue ()
 Indicates angle in degrees for TURN_LEFT/TURN_RIGHT types RouteEventType and target sublocation unique identifier if type is TRANSITION Sublocation.
 
float getDistance ()
 distance from the beginning of the route to incoming event in meters.
 
String toString ()
 

Detailed Description

Class is used for storing the route path events.

Referenced from: RoutePath.

Definition at line 16 of file RouteEvent.java.

Constructor & Destructor Documentation

◆ RouteEvent()

com.navigine.idl.java.RouteEvent.RouteEvent ( RouteEventType type,
int value,
float distance )
inline

Default constructor for class RouteEvent.

Definition at line 28 of file RouteEvent.java.

Member Function Documentation

◆ getDistance()

float com.navigine.idl.java.RouteEvent.getDistance ( )
inline

distance from the beginning of the route to incoming event in meters.

Returns

Definition at line 55 of file RouteEvent.java.

◆ getType()

RouteEventType com.navigine.idl.java.RouteEvent.getType ( )
inline

Incoming event type RouteEventType.

Returns

Definition at line 40 of file RouteEvent.java.

◆ getValue()

int com.navigine.idl.java.RouteEvent.getValue ( )
inline

Indicates angle in degrees for TURN_LEFT/TURN_RIGHT types RouteEventType and target sublocation unique identifier if type is TRANSITION Sublocation.

Returns

Definition at line 48 of file RouteEvent.java.

◆ toString()

String com.navigine.idl.java.RouteEvent.toString ( )
inline

Definition at line 60 of file RouteEvent.java.


The documentation for this class was generated from the following file: