Click or drag to resize

DistanceIntervalNotification Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
A DistanceIntervalNotification is a Notification that will trigger every time the object has moved a specified distance.
Inheritance Hierarchy

Namespace:  Telogis.GeoBase.Navigation
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public class DistanceIntervalNotification : DistanceNotification

The DistanceIntervalNotification type exposes the following members.

Constructors
  NameDescription
Public methodDistanceIntervalNotification
Creates a new notification that is called every time a given distance is traveled.
Top
Properties
  NameDescription
Public propertyHandler
Gets the event handler.
(Inherited from Notification.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodShouldRaise
This notification should never be raised in navigation mode.
(Overrides NotificationShouldRaise(NavigationEvent, Position, LatLon, DistanceMeter).)
Public methodShouldRaiseMapFollow
Checks if this notification should be raised in map follow mode for the provided position.
(Overrides NotificationShouldRaiseMapFollow(Position, LatLon).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

This notification behaves identically in map follow and routing mode.

See NotificationDelegate for an example on how notifications may be used.

Related articles: Using Notifications and Events.

Examples
Constructing a DistanceIntervalNotification that is called every 10 meters:
DistanceIntervalNotification notify = new DistanceIntervalNotification(10, DistanceUnit.Meters, MyHandler);
See Also