다음을 통해 공유


GuidanceNavigator.UserLocationRestored 이벤트

정의

사용자의 위치가 복원될 때 발생합니다.

참고

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

// Register
event_token UserLocationRestored(TypedEventHandler<GuidanceNavigator, IInspectable const&> const& handler) const;

// Revoke with event_token
void UserLocationRestored(event_token const* cookie) const;

// Revoke with event_revoker
GuidanceNavigator::UserLocationRestored_revoker UserLocationRestored(auto_revoke_t, TypedEventHandler<GuidanceNavigator, IInspectable const&> const& handler) const;
public event TypedEventHandler<GuidanceNavigator,object> UserLocationRestored;
function onUserLocationRestored(eventArgs) { /* Your code */ }
guidanceNavigator.addEventListener("userlocationrestored", onUserLocationRestored);
guidanceNavigator.removeEventListener("userlocationrestored", onUserLocationRestored);
- or -
guidanceNavigator.onuserlocationrestored = onUserLocationRestored;
Public Custom Event UserLocationRestored As TypedEventHandler(Of GuidanceNavigator, Object) 

이벤트 유형

적용 대상