Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Handles a Navigation Notification. See example.
geobase.net (in geobase.net.dll) Version: 184.108.40.206
public delegate void NotificationDelegate(
Public Delegate Sub NotificationDelegate (
sender As Object,
desc As NavigationEvent
- Type: SystemObject
The object received from the event handler.
- Type: Telogis.GeoBase.NavigationNavigationEvent
The current NavigationEvent.
A delegate has the following structure:
private void myNotificationDelegate(object sender, NavigationEvent e)
The delegate is passed the corresponding
This object may be used to retrieve the target street name, turn direction
and other such information:
private void UpcomingTurn(object sender, NavigationEvent e)
Console.WriteLine("Turn into " + e.TargetStreet);
Finally, the delegate may be used in conjunction with an event, such as a
myNavigator.AddNotification(new BeforeTurnDistanceNotification(100, 0, DistanceUnit.METERS, new NotificationDelegate(UpcomingTurn)));
This is a notification that fires no earlier than 100 meters before every turn. The notification,
when fired, will call our UpcomingTurn function and output "Turn into (street name)" to the console.