Static Public Member Functions | |
static void | goOnline (boolean online, int maxTime) throws GeneralException |
Defines if the navigation has to connect to or disconnect from online services. More... | |
static void | onlineServicesLogin (String userName, String password, int maxTime) throws GeneralException |
Enters the login credentials for the online services, such as life traffic. More... | |
static TmcEvent | addTMCEvent (TmcEvent event, int maxTime) throws GeneralException |
Adds a custom TMC event. More... | |
static void | removeTMCEvent (short eventId, int maxTime) throws GeneralException |
Removes a custom TMC event. More... | |
static void | clearTMCTable (int maxTime) throws GeneralException |
Erases all the custom TMC events defined with AddTMCEvent function. More... | |
static OnlineServicesSettings | onlineServicesSettings (int maxTime) throws GeneralException |
Sets/gets online services settings. More... | |
|
static |
Adds a custom TMC event.
This event is independent on the events received online.
event | TMC event defined in the TmcEvent class. |
maxTime | Maximum of time (in milliseconds) function can take. If maxTime=0 function execution is not time limited. |
GeneralException | the general exception |
References Api.getInstance(), Api.getService(), TmcEvent.readBundle(), and TmcEvent.writeBundle().
|
static |
Erases all the custom TMC events defined with AddTMCEvent function.
maxTime | Maximum of time (in milliseconds) function can take. If maxTime=0 function execution is not time limited. |
GeneralException | the general exception |
References Api.getInstance(), and Api.getService().
|
static |
Defines if the navigation has to connect to or disconnect from online services.
The online services include functions as live traffic from the server and other.
online | Determines whether connect or disconnect. false - Disconnect. |
maxTime | Maximum of time (in milliseconds) function can take. If maxTime=0 function execution is not time limited. |
GeneralException | the general exception |
References Api.getInstance(), and Api.getService().
|
static |
Enters the login credentials for the online services, such as life traffic.
If not credentials are given, the application logs in anonymously.
userName | User name. |
password | Password. |
maxTime | Maximum of time (in milliseconds) function can take. If maxTime=0 function execution is not time limited. |
GeneralException | the general exception |
References Api.getInstance(), and Api.getService().
|
static |
Sets/gets online services settings.
maxTime | Maximum of time (in milliseconds) function can take. If maxTime=0 function execution is not time limited. |
GeneralException | the general exception OnlineServicesSettings class. |
References Api.getInstance(), and Api.getService().
|
static |
Removes a custom TMC event.
Each custom event has an ID given to it by the navigation during creation. However, TMC events should be defined so that they expire with their validity time.
eventId | The Id of the TMC event returned by addTMCEvent(TmcEvent, int) function. |
maxTime | Maximum of time (in milliseconds) function can take. If maxTime=0 function execution is not time limited. |
GeneralException | the general exception |
References Api.getInstance(), and Api.getService().