com.sygic.sdk.driving.Trip.EventSpeeding Class Reference
Inheritance diagram for com.sygic.sdk.driving.Trip.EventSpeeding:
Collaboration diagram for com.sygic.sdk.driving.Trip.EventSpeeding:

Public Member Functions

 EventSpeeding (final GeoPosition location, final double speedRestriction, final double speedCurrent, final boolean continuous)
 
double getSpeedRestriction ()
 
double getSpeedCurrent ()
 
boolean isContinuous ()
 
- Public Member Functions inherited from com.sygic.sdk.driving.Trip.Event
final int getType ()
 
GeoPosition getLocation ()
 

Additional Inherited Members

- Protected Member Functions inherited from com.sygic.sdk.driving.Trip.Event
 Event (@Type final int type, final GeoPosition location)
 

Detailed Description

Event that is generated when speeding was detected.

Constructor & Destructor Documentation

◆ EventSpeeding()

com.sygic.sdk.driving.Trip.EventSpeeding.EventSpeeding ( final GeoPosition  location,
final double  speedRestriction,
final double  speedCurrent,
final boolean  continuous 
)

Member Function Documentation

◆ getSpeedCurrent()

double com.sygic.sdk.driving.Trip.EventSpeeding.getSpeedCurrent ( )

Current speed when event was detected.

◆ getSpeedRestriction()

double com.sygic.sdk.driving.Trip.EventSpeeding.getSpeedRestriction ( )

Speed restriction on the road where event was detected.

◆ isContinuous()

boolean com.sygic.sdk.driving.Trip.EventSpeeding.isContinuous ( )

Marks if this event continues (it is reappearing) from last event of this type.


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