Click or drag to resize

DefaultNavigationStatusSetSpeed Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Notify the user of the vehicle's current speed.

Namespace:  Telogis.GeoBase.Navigation
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public virtual void SetSpeed(
	int speedLimit,
	bool limitIsPosted,
	int vehicleSpeed,
	SpeedUnit units
)

Parameters

speedLimit
Type: SystemInt32
The current speed limit (measured in units).
limitIsPosted
Type: SystemBoolean
True if the speed limit is a posted speed limit, or an implied speed limit.
vehicleSpeed
Type: SystemInt32
The current speed of the vehicle (again, measured in units).
units
Type: Telogis.GeoBaseSpeedUnit
The SpeedUnits in which the speed limit and vehicle speed are measured.

Implements

INavigationStatusSetSpeed(Int32, Boolean, Int32, SpeedUnit)
Remarks
Typically, a navigation-based application will show a LabelBox to display the current speed (passed as the vehicleSpeed parameter) of the vehicle. This method will update the LabelBox with the new speed information. The current speed limit is also passed to this method (as the speedLimit parameter) so your application may alert the user (audibly and/or visibly) if the user is exceeding the speed limit.
See Also