GuidanceNavigator.UserLocationLost Evento
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Si verifica quando la posizione dell'utente è stata persa.
Nota
Questa API non è disponibile per tutte le app di Windows. A meno che l'account per sviluppatore non venga effettuato appositamente da Microsoft, le chiamate a questa API avranno esito negativo in fase di esecuzione. Per altre informazioni sullo spazio dei nomi Windows.Services.Maps.Guidance
// Register
event_token UserLocationLost(TypedEventHandler<GuidanceNavigator, IInspectable const&> const& handler) const;
// Revoke with event_token
void UserLocationLost(event_token const* cookie) const;
// Revoke with event_revoker
GuidanceNavigator::UserLocationLost_revoker UserLocationLost(auto_revoke_t, TypedEventHandler<GuidanceNavigator, IInspectable const&> const& handler) const;
public event TypedEventHandler<GuidanceNavigator,object> UserLocationLost;
function onUserLocationLost(eventArgs) { /* Your code */ }
guidanceNavigator.addEventListener("userlocationlost", onUserLocationLost);
guidanceNavigator.removeEventListener("userlocationlost", onUserLocationLost);
- or -
guidanceNavigator.onuserlocationlost = onUserLocationLost;
Public Custom Event UserLocationLost As TypedEventHandler(Of GuidanceNavigator, Object)
Tipo evento
TypedEventHandler<GuidanceNavigator,IInspectable>