다음을 통해 공유


GuidanceNavigator.UserLocationLost 이벤트

정의

사용자의 위치가 손실되었을 때 발생합니다.

참고

이 API는 모든 Windows 앱에서 사용할 수 없습니다. 개발자 계정이 Microsoft에서 특별히 프로비전되지 않는 한 런타임에 이 API에 대한 호출이 실패합니다. Windows.Services.Maps.Guidance 네임스페이스에 대한 자세한 내용은 Microsoft 계정 팀 담당자에게 문의하세요.

// 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) 

이벤트 유형

적용 대상