OfflineMapPackage.StatusChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
TypedEventHandler<OfflineMapPackage,IInspectable>
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.