Int Getnavigatorversioninfov01( Tnavversioninfov01& Aversioninfo); Int Bringnavigatortoforeground( ); Int Switchtonavigatorview( ); Int Tryclosecurrentopeneddialogs( ) - TomTom Navigator SDK Installation And Use Manual

Version 3.0 build 193
Table of Contents

Advertisement

• TNavVersionInfoV01& aVersionInfo: version struct to fill
Returns: 0 if successful, non−zero value otherwise.
Supported Since: TTN 1.42
Return the SDK version number information (version string and build number).
6.2.2. INT GetNavigatorVersionInfoV01( TNavVersionInfoV01&
aVersionInfo)
Command Parameters:
• TNavVersionInfoV01& aVersionInfo: version struct to fill
Returns: 0 if successful, non−zero value otherwise.
Supported Since: TTN 1.42
Return the version number information of TomTom Navigator (version string and build number).

6.2.3. INT BringNavigatorToForeground( )

Returns: 0 if successful, non−zero value otherwise.
Supported Since: TTN 1.42
Puts the application in the foreground

6.2.4. INT SwitchToNavigatorView( )

Returns: 0 if successful, non−zero value otherwise.
Supported Since: TTN 1.42
Switches to the navigation view. Useful because various API calls only work in Navigation view.

6.2.5. INT TryCloseCurrentOpenedDialogs( )

Returns: 0 if successful, non−zero value otherwise.
Supported Since: TTN 1.42
Tries to close any opened dialogs on top. Useful for API calls like navigating to a location, which won't
work when a dialog is on screen. Some dialogs cannot be closed, so this operation might fail.

6.2.6. INT SwitchMap( LPCTSTR aFileName)

Command Parameters:
• LPCTSTR aFileName: map to switch to
Returns: 0 if successful, non−zero value otherwise.
Supported Since: TTN 3.0
Switch to the map specified by the full name and path of the .PNA file.
6.2.7. INT GetLocationInfoV01( long aLongitude, long aLatitude,
TLocationInfoV01 & aLocInfo)
Command Parameters:
• long aLongitude: longitude specified in WGS84 format (in millionths of degree)
• long aLatitude: latitude specified in WGS84 format (in millionths of degree)
• TLocationInfoV01 & aLocInfo: record containing street address of this location
6. Communicating with TomTom Navigator from C++
28

Advertisement

Table of Contents
loading

Table of Contents