PTV Navigator Remote Interface Documentation
|
Variables | |
final int | MSG_RI_SET_PREFERENCES = 126 |
Set preferences of the application
Sets a bundle of preferences in the application
Key | Value | Type | Info |
---|---|---|---|
Preferences | Key value pairs of the preferences to set | Bundle |
{.cpp} Bundle preferences = new Bundle(); preferences.putString("map_day_night", "Nightly"); preferences.putBoolean("traffic_avoid", false); Bundle data = new Bundle(); data.putBundle("Preferences", preferences);
RI_ERROR_NONE in case the preference was set correctly.
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_INVALID_PARAMETER in case the preference type is not correct
RI_ERROR_NO_LICENSE if the navigator has no valid license.
© PTV Group 2023 | Generated on Fri May 10 2024 10:16:00 for PTV Navigator Remote Interface Documentation by 1.7.3 |