GuidanceNavigator.DestinationReached Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the route destination has been reached.
Note
This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about the Windows.Services.Maps.Guidance namespace, please work with your Microsoft Account Team representative.
// Register
event_token DestinationReached(TypedEventHandler<GuidanceNavigator, IInspectable const&> const& handler) const;
// Revoke with event_token
void DestinationReached(event_token const* cookie) const;
// Revoke with event_revoker
GuidanceNavigator::DestinationReached_revoker DestinationReached(auto_revoke_t, TypedEventHandler<GuidanceNavigator, IInspectable const&> const& handler) const;
public event TypedEventHandler<GuidanceNavigator,object> DestinationReached;
function onDestinationReached(eventArgs) { /* Your code */ }
guidanceNavigator.addEventListener("destinationreached", onDestinationReached);
guidanceNavigator.removeEventListener("destinationreached", onDestinationReached);
- or -
guidanceNavigator.ondestinationreached = onDestinationReached;
Public Custom Event DestinationReached As TypedEventHandler(Of GuidanceNavigator, Object)
Event Type
TypedEventHandler<GuidanceNavigator,IInspectable>