GeovisitMonitor.VisitStateChanged GeovisitMonitor.VisitStateChanged GeovisitMonitor.VisitStateChanged GeovisitMonitor.VisitStateChanged GeovisitMonitor.VisitStateChanged Event

Definition

Raised when the user's current Visit state has changed, provided this GeovisitMonitor is currently monitoring.

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

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

// Revoke with event_revoker
VisitStateChanged_revoker VisitStateChanged(auto_revoke_t, TypedEventHandler<GeovisitMonitor, GeovisitStateChangedEventArgs> const& handler) const;
public event TypedEventHandler<GeovisitMonitor, GeovisitStateChangedEventArgs> VisitStateChanged
Public Event VisitStateChanged As TypedEventHandler (Of GeovisitMonitor, GeovisitStateChangedEventArgs)
function onVisitStateChanged(eventArgs){/* Your code */}


geovisitMonitor.addEventListener("visitstatechanged", onVisitStateChanged);
geovisitMonitor.removeEventListener("visitstatechanged", onVisitStateChanged);