Skip to content

MSG RI START NAVIGATION

MSG_RI_START_NAVIGATION = 300

Description:

Start a navigation.

Be sure to first add target stops with AddStop. If more than one stop is present in the current tour, the navigator will calculate a route over all tour stops from the first to the last.

The route overview screen can be skipped by setting 'ShowRouteOverview' to false.

Please note that start navigation cannot be used in some situations:

  • During an active navigation -> please stop the navigation by using the StopNavigation message and then try again start the navigation.
  • If the navigator is not in the main fragment.

Sending bundle:

Key Value Type Info
ShowRouteOverview Flag whether the route overview should be shown or not Boolean

Returned error codes:

  • RI_ERROR_NONE if everything is ok.
  • RI_ERROR_RI_DISABLED if the Remote Interface service is disabled and/or not licensed.
  • RI_ERROR_NOT_INITIALIZED if the Remote Interface service is not initialized yet.
  • RI_ERROR_NOT_ALLOWED if the start is not allowed in the current fragment.
  • RI_ERROR_LONGTIME_OPERATION_IN_PROGRESS as long as the PTV Navigator is calculating the route.
  • RI_ERROR_FAILED if the app is not completely initialized.
  • RI_ERROR_NO_LICENSE if the navigator has no valid license.