Share via


OfflineMapPackage.StatusChanged Event

Definition

Occurs when the status of an OfflineMapPackageQueryResult changes.

// Register
event_token StatusChanged(TypedEventHandler<OfflineMapPackage, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
OfflineMapPackage::StatusChanged_revoker StatusChanged(auto_revoke_t, TypedEventHandler<OfflineMapPackage, IInspectable const&> const& handler) const;
public event TypedEventHandler<OfflineMapPackage,object> StatusChanged;
function onStatusChanged(eventArgs) { /* Your code */ }
offlineMapPackage.addEventListener("statuschanged", onStatusChanged);
offlineMapPackage.removeEventListener("statuschanged", onStatusChanged);
- or -
offlineMapPackage.onstatuschanged = onStatusChanged;
Public Custom Event StatusChanged As TypedEventHandler(Of OfflineMapPackage, Object) 

Event Type

Remarks

Handle this event if you want to know whether a status of map package that you previously searched for has changed. For example, if the Status property of a map package previously returned a value of Downloading, this event notifies you when the status changes to Downloaded.

Applies to