Share via


GeovisitMonitor.VisitStateChanged 이벤트

정의

GeovisitMonitor 가 현재 모니터링 중인 경우 사용자의 현재 방문 상태가 변경되었을 때 발생합니다.

// Register
event_token VisitStateChanged(TypedEventHandler<GeovisitMonitor, GeovisitStateChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
GeovisitMonitor::VisitStateChanged_revoker VisitStateChanged(auto_revoke_t, TypedEventHandler<GeovisitMonitor, GeovisitStateChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<GeovisitMonitor,GeovisitStateChangedEventArgs> VisitStateChanged;
function onVisitStateChanged(eventArgs) { /* Your code */ }
geovisitMonitor.addEventListener("visitstatechanged", onVisitStateChanged);
geovisitMonitor.removeEventListener("visitstatechanged", onVisitStateChanged);
- or -
geovisitMonitor.onvisitstatechanged = onVisitStateChanged;
Public Custom Event VisitStateChanged As TypedEventHandler(Of GeovisitMonitor, GeovisitStateChangedEventArgs) 

이벤트 유형

Windows 요구 사항

앱 기능
location

적용 대상