ClaimedLineDisplay.StatusUpdated 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.
Notifies the application that there is a change in the power status of the line display.
// Register
event_token StatusUpdated(TypedEventHandler<ClaimedLineDisplay, LineDisplayStatusUpdatedEventArgs const&> const& handler) const;
// Revoke with event_token
void StatusUpdated(event_token const* cookie) const;
// Revoke with event_revoker
ClaimedLineDisplay::StatusUpdated_revoker StatusUpdated(auto_revoke_t, TypedEventHandler<ClaimedLineDisplay, LineDisplayStatusUpdatedEventArgs const&> const& handler) const;
public event TypedEventHandler<ClaimedLineDisplay,LineDisplayStatusUpdatedEventArgs> StatusUpdated;
function onStatusUpdated(eventArgs) { /* Your code */ }
claimedLineDisplay.addEventListener("statusupdated", onStatusUpdated);
claimedLineDisplay.removeEventListener("statusupdated", onStatusUpdated);
- or -
claimedLineDisplay.onstatusupdated = onStatusUpdated;
Public Custom Event StatusUpdated As TypedEventHandler(Of ClaimedLineDisplay, LineDisplayStatusUpdatedEventArgs)
Event Type
Windows requirements
Device family |
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v5.0)
|
Remarks
The event values are the same as the values returned by CheckPowerStatusAsync.