C++ SDK

◆ CloseApi()

static int CApplicationAPI::CloseApi ( )
static

The function uninitializes ApplicationAPI. No other API functions will be executed after this command.
The function should be called at the end of SDK application. You can call function EndApplication before this one, if you wish to close navigation too.

Returns
1 if successful, other value otherwise.

Possible error codes returned from Drive are:

  • 0 - Function not succeeded.
  • 1 - Function succeeded.
  • 2 - Drive not succeeded.
  • 3 - Function reached timeout.