Static Public Member Functions | |
static String | getApplicationOptions (int maxTime) throws GeneralException |
Retrieve application settings as a json string. More... | |
static void | setApplicationOptions (String json, int maxTime) throws GeneralException |
Set some or all application settings through the given json string. More... | |
static Options | changeApplicationOptions (Options changeOption, int maxTime) throws GeneralException |
Changes basic Navigation settings. More... | |
static void | setDefaultValues (int maxTime) throws GeneralException |
Sets default Navigation values. More... | |
|
static |
Changes basic Navigation settings.
Use ChangeOption to set new Navigation settings. It is possible to change these characteristics:
Appearance for right or left handed user. Enable/disable sounds. Maximum and minimum sound volume (not applicable for Android) Set clock format. It is possible to choose EUROPE, UK or US format. Set distance units. User can choose kilometers or miles. Set GPS units. User can choose degrees, minutes or seconds. Set location of home position. Set keyboard type which Navigation uses.
After function execution ChangeOption contains actual Navigation settings.
changeOption | model.Options instance which contains new settings. |
maxTime | Maximum time (in milliseconds) the function can take. If MaxTime=0 function execution is not time limited. |
GeneralException | the general exception |
References Api.getInstance(), Api.getService(), Options.readBundle(), and Options.writeBundle().
|
static |
Retrieve application settings as a json string.
The returned json string expresses the structure described in JSON Application settings
Please note new output attributes might be added in future, but the existing ones will be kept for backward compatibility
maxTime | Maximum time (in milliseconds) the function can take. If MaxTime=0 function execution is not time limited. |
GeneralException | the general exception |
References Api.getInstance(), and Api.getService().
|
static |
Set some or all application settings through the given json string.
The input json string needs to be expressed in the structure described in JSON Application settings
Please note new input attributes might be added in future, but the existing ones will be kept for backward compatibility
maxTime | Maximum time (in milliseconds) the function can take. If MaxTime=0 function execution is not time limited. |
json | string containing overwriting settings |
GeneralException | the general exception |
References Api.getInstance(), and Api.getService().
|
static |
Sets default Navigation values.
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().