C++ SDK
ApplicationEvents

ApplicationEvents enum enumerates events that Drive can generate.
. More...

Macros

#define EVENT_APP_STARTED   1010
 Event occurs when application starts. More...
 
#define EVENT_EXIT   1100
 Event occurs when application is terminated. More...
 
#define EVENT_APP_CLOSED   1100
 Event occurs when application is terminated. More...
 
#define EVENT_ROUTE_USERCANCEL   1101
 Event occurs when user cancel the route. More...
 
#define EVENT_WAIPOINT_VISITED   1102
 Event occurs when a waypoint is visited. The strData parameter will return the waypoint ID. More...
 
#define EVENT_WAYPOINT_VISITED   1102
 Event occurs when a waypoint is visited. The strData parameter will return the waypoint ID. More...
 
#define EVENT_ROUTE_FINISH   1103
 Event occurs when user reaches route destination. More...
 
#define EVENT_ROUTE_COMPUTED   1105
 Event occurs when new route is computed. More...
 
#define EVENT_OPTIMIZATION_FINISHED   1107
 Event occurs when optimization is finished. The strData contains "0" if optimization was successful, other value otherwise. More...
 
#define EVENT_ROUTE_RECOMPUTE   1106
 Event occurs when a route is recomputed. More...
 
#define EVENT_ITINERARY_CHANGED   1108
 
#define EVENT_ITINERARY_WARNING   1109
 
#define EVENT_NEXT_INSTRUCTION   1110
 Event occurs when navigation display the next instruction. More...
 
#define EVENT_INVISIBLE_WAYPOINT_VISITED   1111
 Event occurs when a invisible waypoint is visited. The strData parameter will return the waypoint ID. More...
 
#define EVENT_MAIN_MENU   1150
 Event occurs when user click on the navigation window. More...
 
#define EVENT_CONTEXT_MENU   1151
 Event occurs when user show context menu. Context menu is located at the bottom of the navigation screen. More...
 
#define EVENT_EXIT_MENU   1152
 Event occurs when return to navigation from any menu. More...
 
#define EVENT_CUSTOM_MENU   1153
 Event occurs after user clicks on some custom button in the menu. The strData parameter will return the command parameter (defined in menu.ini file) of this button. More...
 
#define EVENT_CHANGE_LANGUAGE   1160
 Event occurs when user change language of Drive application. The strData contains the name of the lang file, e.g. if user selects English in the menu, it returns "english.lang". More...
 
#define EVENT_CHANGEORIENTATION   1161
 Event occurs when user change screen orientation of Drive application. The strData has the values "1", "2", "3" or "4", according to the screen rotation. More...
 
#define EVENT_RADAR_WARNING   1170
 Event occurs when a radar warning is invoked. The strData parameter has following format: "%d,%d".
First parameter is speed camera type (see SpeedCameraType enum)
Second parameter is allowed speed (km / h) More...
 
#define EVENT_POI_WARNING   1171
 Event occurs when a poi warning is invoked. The strData parameter has following format: "%s,%s,{%d,%d}"
First parameter is category name (use GetPoiCategoryList function to get list of poi categories)
Second parameter is POI name
Third parameter is longitude
Fourth parameter is latitude. More...
 
#define EVENT_GEOFENCE   1172
 Event occurs when a geofence interference is invoked. The strData parameter has following format: "%d,%d"
First parameter is geofence event type. 0 mean enter to the restricted area, 1 mean leave the restricted area./n Second parameter is restricted area ID. More...
 
#define EVENT_RESTRICTED_ROAD   1173
 Event occurs when a restricted road interference is invoked. More...
 
#define EVENT_BORDER_CROSSING   1180
 Event occurs when the border is crossed. More...
 
#define EVENT_SPEED_EXCEEDING   1181
 Event occurs when the speed limit is exceeded. More...
 
#define BITMAP_CLICK   1190
 Event occurs when the user click on bitmap in browsemap. More...
 
#define EVENT_BITMAP_CLICK   1190
 Event occurs when the user click on bitmap in browsemap. More...
 
#define EVENT_POI_CLICK   1191
 Event occurs when the user click on POI in browsemap. More...
 
#define EVENT_BROWSE_MAP_EXIT   1192
 Event occurs when the user click on Done button in Browse map. More...
 
#define EVENT_APP_ERROR   1200
 Event occurs when application was closed by user. More...
 
#define EVENT_APP_EXIT   1200
 Event occurs when application was closed by user. More...
 

Detailed Description

ApplicationEvents enum enumerates events that Drive can generate.
.