Click or drag to resize

BeforeTurnTimeNotification Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
A Notification that will trigger once per NavigationEvent, as long as it is queried between its earliest and latest times.
Inheritance Hierarchy

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

The BeforeTurnTimeNotification type exposes the following members.

Constructors
  NameDescription
Public methodBeforeTurnTimeNotification
Constructs a new BeforeTurnTimeNotification.
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
Checks if this notification should be raised in navigation mode.
(Overrides NotificationShouldRaise(NavigationEvent, Position, LatLon, DistanceMeter).)
Public methodShouldRaiseMapFollow
Checks if this notification should be raised in navigation mode.
(Overrides NotificationShouldRaiseMapFollow(Position, LatLon).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

This notification will never trigger when in map follow mode.

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

Related articles: Using Notifications and Events, Using an XmlWaveAnnouncer.

Examples
Constructing a BeforeTurnTimeNotification that is called whenever the user is less than 30 seconds but more than 10 seconds from their next turn:
BeforeTurnTimeNotification notify = new BeforeTurnTimeNotification(TimeSpan.FromSeconds(30), TimeSpan.FromSeconds(10), MyHandler);
See Also