Options class is used to manipulate with basic Navigation settings in ApiOptions#changeApplicationOptions(Options, int)
function.
More...
Classes | |
class | LOAD_RESTRICTIONS |
HAZMAT / Load restrictions. More... | |
Public Member Functions | |
Options () | |
String | getHomeLocation () |
Returns name of home position. | |
void | setHomeLocation (String strHomeLocation) |
Sets name of home position. | |
String | getLanguage () |
Returns a language based on assignment of the form "(language).lang", e.g. | |
void | setLanguage (String strLangFile) |
Sets a language based on assignment of the form "(language).lang", e.g. | |
String | getVoice () |
Returns a name of voice based on assignment of the voice folder name, e.g. | |
void | setVoice (String strVoiceFolder) |
Sets a name of voice based on assignment of the voice folder name, e.g. | |
String | getVoicePerson () |
Returns a name of the sound file to play on speed warning. | |
void | setVoicePerson (String strVoicePerson) |
Sets a name of the sound file to play on speed warning. | |
String | getMaxSpeedSound () |
Return a name of the sound file to play on speed warning. | |
void | setMaxSpeedSound (String strMaxSpeedSound) |
Sets a name of the sound file to play on speed warning. | |
String | toString () |
Static Public Member Functions | |
static Bundle | writeBundle (Options options) |
static Options | readBundle (Bundle b) |
Public Attributes | |
int | bSoundEnabled = -1 |
Flag enabling/disabling sounds. | |
int | bOperateRightHanded = -1 |
Flag effecting Navigation appearance. | |
int | nVolumeMin = -1 |
Represents minimum sound volume. | |
int | nVolumeMax = -1 |
Represents maximum sound volume. | |
int | DistanceUnit = -1 |
Flag determining distance units. | |
int | ClockFormat = -1 |
Flag determining clock format. | |
int | GPSUnits = -1 |
Flag determining GPSUnits format. | |
int | KeyboardType = -1 |
Flag determining keyboard type. | |
int | nAvoidTollRoads = -1 |
Flag determining whether Navigation avoids toll roads when computing route. | |
int | bAvoidUTurns = -1 |
Flag determining whether Navigation avoids U-turns when computing route. | |
int | nPlanningSettings = -1 |
Flag determining what kind of route Navigation computes. | |
int | nPlanningSettingsLimitedSpeed = -1 |
Parameter determinig vehicle speed limit. | |
int | bAvoidFerries = -1 |
Flag determining whether Navigation avoids ferries when computing route. | |
int | bDisableMainMenu = -1 |
Flag enabling/disabling main menu. | |
int | bDisableRecompute = -1 |
Flag enabling/disabling recomputing route when deviating from the route. | |
int | nETAMaximumSpeed = -1 |
Estimate time arrival maximum speed. | |
int | nETAPercentageChange = -1 |
Estimate time arrival percentage change. | |
int | bRadarsWarnOn = -1 |
Enable speed camera warning 1 = enable; 0 = disable; -1 = get value. | |
int | bRadarsVisible = -1 |
Radars visible 1 = visible; 0 = invisible; -1 = get value. | |
int | nRadarDistance = -1 |
Radars warning distance (range 1..10); -1 = get value; real distance = distance * 100 (m / yd) | |
int | nRadarDistanceInCity = -1 |
Radars warning distance in city (range 1..10); -1 = get value; real distance = distance * 100 (m / yd) | |
int | nSkin = -1 |
Skin mode 0 = DAY; 1 = NIGHT; 2 = AUTOSKIN. | |
int | nTimeZone = -1 |
Time zone in minutes. | |
int | nSpeedExceedInCity = -100 |
Speed warning is triggered when the maximum allowed speed in city is exceeded by this value. | |
int | nSpeedExceed = -100 |
Speed warning is triggered when the maximum allowed speed outside city is exceeded by this value. | |
int | nView = -1 |
View mode 0 = 3D; 1 = 2D; 2 = 2D North up. | |
int | nSignpostDirection = -1 |
Displayed signposts: 0=disabled; 1=Preffered direction; 2=All directions; -1=get value. | |
int | nSignpostSize = -1 |
Displayed signposts size: 0=single line; 1=simplified; 2=full; -1=get value. | |
int | bSnapToEveryRoad = -1 |
Allows position snapping to forbidden roads. | |
int | bMaxSpeedWarn = -1 |
Enable acoustic speed exceeding warning 1 = enable; 0 = disable; -1 = get value. | |
int | bTTSEnabled = -1 |
Selected sound is TTS. | |
int | nVisiblePointReachDistance = -1 |
int | nInvisiblePointReachDistance = -1 |
int | bAllowClosedRoads = -1 |
int | bTruckInMap = -1 |
Flag determining whether a truck attributes are contained in map. | |
int | bUseTruckAtt = -1 |
Use truck attributes. | |
int | nTruckMaxSpeed = -1 |
Truck max speed [km/h]. | |
int | nTruckWeightTotal = -1 |
Gross vehicle weight [kg]. | |
int | nTruckWeightAxle = -1 |
Weight per axle [kg]. | |
int | nTruckTandemWeight = -1 |
Tandem axle weight [kg]. | |
int | nTruckTridemWeight = -1 |
Tridem axle weight [kg]. | |
int | nTruckOtherWeight = -1 |
Other weight [kg]. | |
int | nTruckUnladenWeight = -1 |
Unladen vehicle weight [kg]. | |
int | nTruckLenght = -1 |
Total vehicle length [mm]. | |
int | nTruckAxleLength = -1 |
Extreme axle length [mm]. | |
int | nTrailerLength = -1 |
Trailer Length [mm]. | |
int | nTractorLength = -1 |
Tractor Length [mm]. | |
int | nKingpinLastAxle = -1 |
Kingpin to last axle [mm]. | |
int | nKingpinLastTandem = -1 |
Kingpin to middle of last tandem [mm]. | |
int | nKingpinEndTrailer = -1 |
Kingpin to end of trailer (last trailer if applicable) [mm]. | |
int | nTruckOtherLength = -1 |
Other length [mm]. | |
int | nTruckWidth = -1 |
Vehicle width [mm]. | |
int | nTruckHeight = -1 |
Posted height [mm]. | |
int | nLoadRestrictions = -1 |
HAZMAT / Load restrictions. | |
int | bAllowItineraryEdit = -1 |
Flag determining whether the user will be allowed to edit itinerary manually. | |
Position | HomePosition = new Position(0, 0) |
Options class is used to manipulate with basic Navigation settings in ApiOptions#changeApplicationOptions(Options, int)
function.
Options | ( | ) |
Referenced by Options.readBundle().
String getHomeLocation | ( | ) |
Returns name of home position.
Referenced by Options.writeBundle().
String getLanguage | ( | ) |
Returns a language based on assignment of the form "(language).lang", e.g.
"english.lang".
Referenced by Options.writeBundle().
String getMaxSpeedSound | ( | ) |
Return a name of the sound file to play on speed warning.
Referenced by Options.writeBundle().
String getVoice | ( | ) |
Returns a name of voice based on assignment of the voice folder name, e.g.
"english_us".
Referenced by Options.writeBundle().
String getVoicePerson | ( | ) |
Returns a name of the sound file to play on speed warning.
Referenced by Options.writeBundle().
|
static |
References Options.Options(), Options.setHomeLocation(), Options.setLanguage(), Options.setMaxSpeedSound(), Options.setVoice(), and Options.setVoicePerson().
Referenced by ApiOptions.changeApplicationOptions().
void setHomeLocation | ( | String | strHomeLocation | ) |
Sets name of home position.
strHomeLocation | A string to name of home position. |
Referenced by Options.readBundle().
void setLanguage | ( | String | strLangFile | ) |
Sets a language based on assignment of the form "(language).lang", e.g.
"english.lang".
strLangFile | A string to name of lang file. |
Referenced by Options.readBundle().
void setMaxSpeedSound | ( | String | strMaxSpeedSound | ) |
Sets a name of the sound file to play on speed warning.
strMaxSpeedSound | A string to name of the sound file to play on speed warning. |
Referenced by Options.readBundle().
void setVoice | ( | String | strVoiceFolder | ) |
Sets a name of voice based on assignment of the voice folder name, e.g.
"english_us".
In case of NonTTS voices set bTTSEnabled to 0 else 1
strVoiceFolder | A string to voice based on assignment of the voice folder name, e.g. "english_us". |
Referenced by Options.readBundle().
void setVoicePerson | ( | String | strVoicePerson | ) |
Sets a name of the sound file to play on speed warning.
strVoicePerson | A string to name of the sound file to play on speed warning |
Referenced by Options.readBundle().
String toString | ( | ) |
References Options.bAllowClosedRoads, Options.bAllowItineraryEdit, Options.bAvoidFerries, Options.bAvoidUTurns, Options.bDisableMainMenu, Options.bDisableRecompute, Options.bMaxSpeedWarn, Options.bOperateRightHanded, Options.bRadarsVisible, Options.bRadarsWarnOn, Options.bSnapToEveryRoad, Options.bSoundEnabled, Options.bTruckInMap, Options.bTTSEnabled, Options.bUseTruckAtt, Options.ClockFormat, Options.DistanceUnit, Options.GPSUnits, Options.HomePosition, Options.KeyboardType, Options.nAvoidTollRoads, Options.nETAMaximumSpeed, Options.nETAPercentageChange, Options.nInvisiblePointReachDistance, Options.nKingpinEndTrailer, Options.nKingpinLastAxle, Options.nKingpinLastTandem, Options.nLoadRestrictions, Options.nPlanningSettings, Options.nPlanningSettingsLimitedSpeed, Options.nRadarDistance, Options.nRadarDistanceInCity, Options.nSignpostDirection, Options.nSignpostSize, Options.nSkin, Options.nSpeedExceed, Options.nSpeedExceedInCity, Options.nTimeZone, Options.nTractorLength, Options.nTrailerLength, Options.nTruckAxleLength, Options.nTruckHeight, Options.nTruckLenght, Options.nTruckMaxSpeed, Options.nTruckOtherLength, Options.nTruckOtherWeight, Options.nTruckTandemWeight, Options.nTruckTridemWeight, Options.nTruckUnladenWeight, Options.nTruckWeightAxle, Options.nTruckWeightTotal, Options.nTruckWidth, Options.nView, Options.nVisiblePointReachDistance, Options.nVolumeMax, and Options.nVolumeMin.
|
static |
References Options.bAllowClosedRoads, Options.bAllowItineraryEdit, Options.bAvoidFerries, Options.bAvoidUTurns, Options.bDisableMainMenu, Options.bDisableRecompute, Options.bMaxSpeedWarn, Options.bOperateRightHanded, Options.bRadarsVisible, Options.bRadarsWarnOn, Options.bSnapToEveryRoad, Options.bSoundEnabled, Options.bTruckInMap, Options.bTTSEnabled, Options.bUseTruckAtt, Options.ClockFormat, Options.DistanceUnit, Options.getHomeLocation(), Options.getLanguage(), Options.getMaxSpeedSound(), Options.getVoice(), Options.getVoicePerson(), Position.getX(), Position.getY(), Options.GPSUnits, Options.HomePosition, Options.KeyboardType, Options.nAvoidTollRoads, Options.nETAMaximumSpeed, Options.nETAPercentageChange, Options.nInvisiblePointReachDistance, Options.nKingpinEndTrailer, Options.nKingpinLastAxle, Options.nKingpinLastTandem, Options.nLoadRestrictions, Options.nPlanningSettings, Options.nPlanningSettingsLimitedSpeed, Options.nRadarDistance, Options.nRadarDistanceInCity, Options.nSignpostDirection, Options.nSignpostSize, Options.nSkin, Options.nSpeedExceed, Options.nSpeedExceedInCity, Options.nTimeZone, Options.nTractorLength, Options.nTrailerLength, Options.nTruckAxleLength, Options.nTruckHeight, Options.nTruckLenght, Options.nTruckMaxSpeed, Options.nTruckOtherLength, Options.nTruckOtherWeight, Options.nTruckTandemWeight, Options.nTruckTridemWeight, Options.nTruckUnladenWeight, Options.nTruckWeightAxle, Options.nTruckWeightTotal, Options.nTruckWidth, Options.nView, Options.nVisiblePointReachDistance, Options.nVolumeMax, and Options.nVolumeMin.
Referenced by ApiOptions.changeApplicationOptions().
int bAllowClosedRoads = -1 |
Referenced by Options.toString(), and Options.writeBundle().
int bAllowItineraryEdit = -1 |
Flag determining whether the user will be allowed to edit itinerary manually.
Referenced by Options.toString(), and Options.writeBundle().
int bAvoidFerries = -1 |
Flag determining whether Navigation avoids ferries when computing route.
Notes:
Possible values are:
Referenced by Options.toString(), and Options.writeBundle().
int bAvoidUTurns = -1 |
Flag determining whether Navigation avoids U-turns when computing route.
Notes:
Possible values are:
Referenced by Options.toString(), and Options.writeBundle().
int bDisableMainMenu = -1 |
Flag enabling/disabling main menu.
Notes:
Possible values are:
Referenced by Options.toString(), and Options.writeBundle().
int bDisableRecompute = -1 |
Flag enabling/disabling recomputing route when deviating from the route.
Referenced by Options.toString(), and Options.writeBundle().
int bMaxSpeedWarn = -1 |
Enable acoustic speed exceeding warning 1 = enable; 0 = disable; -1 = get value.
Referenced by Options.toString(), and Options.writeBundle().
int bOperateRightHanded = -1 |
Flag effecting Navigation appearance.
Notes:
Possible values are:
Referenced by Options.toString(), and Options.writeBundle().
int bRadarsVisible = -1 |
Radars visible 1 = visible; 0 = invisible; -1 = get value.
Referenced by Options.toString(), and Options.writeBundle().
int bRadarsWarnOn = -1 |
Enable speed camera warning 1 = enable; 0 = disable; -1 = get value.
Referenced by Options.toString(), and Options.writeBundle().
int bSnapToEveryRoad = -1 |
Allows position snapping to forbidden roads.
Referenced by Options.toString(), and Options.writeBundle().
int bSoundEnabled = -1 |
Flag enabling/disabling sounds.
Notes:
Possible values are:
Referenced by Options.toString(), and Options.writeBundle().
int bTruckInMap = -1 |
Flag determining whether a truck attributes are contained in map.
This flag is readonly
Referenced by Options.toString(), and Options.writeBundle().
int bTTSEnabled = -1 |
Selected sound is TTS.
Referenced by Options.toString(), and Options.writeBundle().
int bUseTruckAtt = -1 |
Use truck attributes.
Referenced by Options.toString(), and Options.writeBundle().
int ClockFormat = -1 |
Flag determining clock format.
Notes:
Possible values are:
Referenced by Options.toString(), and Options.writeBundle().
int DistanceUnit = -1 |
Flag determining distance units.
Notes:
Possible values are:
Referenced by Options.toString(), and Options.writeBundle().
int GPSUnits = -1 |
Flag determining GPSUnits format.
Notes:
Possible values are:
Referenced by Options.toString(), and Options.writeBundle().
Referenced by Options.toString(), and Options.writeBundle().
int KeyboardType = -1 |
Flag determining keyboard type.
Notes:
Possible values are:
Referenced by Options.toString(), and Options.writeBundle().
int nAvoidTollRoads = -1 |
Flag determining whether Navigation avoids toll roads when computing route.
Notes:
Possible values are:
Referenced by Options.toString(), and Options.writeBundle().
int nETAMaximumSpeed = -1 |
Estimate time arrival maximum speed.
Referenced by Options.toString(), and Options.writeBundle().
int nETAPercentageChange = -1 |
Estimate time arrival percentage change.
Referenced by Options.toString(), and Options.writeBundle().
int nInvisiblePointReachDistance = -1 |
Referenced by Options.toString(), and Options.writeBundle().
int nKingpinEndTrailer = -1 |
Kingpin to end of trailer (last trailer if applicable) [mm].
Referenced by Options.toString(), and Options.writeBundle().
int nKingpinLastAxle = -1 |
Kingpin to last axle [mm].
Referenced by Options.toString(), and Options.writeBundle().
int nKingpinLastTandem = -1 |
Kingpin to middle of last tandem [mm].
Referenced by Options.toString(), and Options.writeBundle().
int nLoadRestrictions = -1 |
HAZMAT / Load restrictions.
Referenced by Options.toString(), and Options.writeBundle().
int nPlanningSettings = -1 |
Flag determining what kind of route Navigation computes.
Notes:
Possible values are:
Referenced by Options.toString(), and Options.writeBundle().
int nPlanningSettingsLimitedSpeed = -1 |
Parameter determinig vehicle speed limit.
Used only if route is computed for vehicles with limited speed.
Referenced by Options.toString(), and Options.writeBundle().
int nRadarDistance = -1 |
Radars warning distance (range 1..10); -1 = get value; real distance = distance * 100 (m / yd)
Referenced by Options.toString(), and Options.writeBundle().
int nRadarDistanceInCity = -1 |
Radars warning distance in city (range 1..10); -1 = get value; real distance = distance * 100 (m / yd)
Referenced by Options.toString(), and Options.writeBundle().
int nSignpostDirection = -1 |
Displayed signposts: 0=disabled; 1=Preffered direction; 2=All directions; -1=get value.
Referenced by Options.toString(), and Options.writeBundle().
int nSignpostSize = -1 |
Displayed signposts size: 0=single line; 1=simplified; 2=full; -1=get value.
Referenced by Options.toString(), and Options.writeBundle().
int nSkin = -1 |
Skin mode 0 = DAY; 1 = NIGHT; 2 = AUTOSKIN.
Referenced by Options.toString(), and Options.writeBundle().
int nSpeedExceed = -100 |
Speed warning is triggered when the maximum allowed speed outside city is exceeded by this value.
Referenced by Options.toString(), and Options.writeBundle().
int nSpeedExceedInCity = -100 |
Speed warning is triggered when the maximum allowed speed in city is exceeded by this value.
Referenced by Options.toString(), and Options.writeBundle().
int nTimeZone = -1 |
Time zone in minutes.
This flag is readonly.
Referenced by Options.toString(), and Options.writeBundle().
int nTractorLength = -1 |
Tractor Length [mm].
Referenced by Options.toString(), and Options.writeBundle().
int nTrailerLength = -1 |
Trailer Length [mm].
Referenced by Options.toString(), and Options.writeBundle().
int nTruckAxleLength = -1 |
Extreme axle length [mm].
Referenced by Options.toString(), and Options.writeBundle().
int nTruckHeight = -1 |
Posted height [mm].
Referenced by Options.toString(), and Options.writeBundle().
int nTruckLenght = -1 |
Total vehicle length [mm].
Referenced by Options.toString(), and Options.writeBundle().
int nTruckMaxSpeed = -1 |
Truck max speed [km/h].
Referenced by Options.toString(), and Options.writeBundle().
int nTruckOtherLength = -1 |
Other length [mm].
Referenced by Options.toString(), and Options.writeBundle().
int nTruckOtherWeight = -1 |
Other weight [kg].
Referenced by Options.toString(), and Options.writeBundle().
int nTruckTandemWeight = -1 |
Tandem axle weight [kg].
Referenced by Options.toString(), and Options.writeBundle().
int nTruckTridemWeight = -1 |
Tridem axle weight [kg].
Referenced by Options.toString(), and Options.writeBundle().
int nTruckUnladenWeight = -1 |
Unladen vehicle weight [kg].
Referenced by Options.toString(), and Options.writeBundle().
int nTruckWeightAxle = -1 |
Weight per axle [kg].
Referenced by Options.toString(), and Options.writeBundle().
int nTruckWeightTotal = -1 |
Gross vehicle weight [kg].
Referenced by Options.toString(), and Options.writeBundle().
int nTruckWidth = -1 |
Vehicle width [mm].
Referenced by Options.toString(), and Options.writeBundle().
int nView = -1 |
View mode 0 = 3D; 1 = 2D; 2 = 2D North up.
Referenced by Options.toString(), and Options.writeBundle().
int nVisiblePointReachDistance = -1 |
Referenced by Options.toString(), and Options.writeBundle().
int nVolumeMax = -1 |
Represents maximum sound volume.
(0-10)
Sound volume changes with changing vehicle speed. It is sound volume used with high vehicle speed.
Referenced by Options.toString(), and Options.writeBundle().
int nVolumeMin = -1 |
Represents minimum sound volume.
(0-10)
Sound volume changes with changing vehicle speed. It is sound volume used with low vehicle speed.
Referenced by Options.toString(), and Options.writeBundle().