ClaimedLineDisplay.ReleaseDeviceRequested 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 a claimed line display claimed is claimed by another app with LineDisplay.ClaimAsync.
// Register
event_token ReleaseDeviceRequested(TypedEventHandler<ClaimedLineDisplay, IInspectable const&> const& handler) const;
// Revoke with event_token
void ReleaseDeviceRequested(event_token const* cookie) const;
// Revoke with event_revoker
ClaimedLineDisplay::ReleaseDeviceRequested_revoker ReleaseDeviceRequested(auto_revoke_t, TypedEventHandler<ClaimedLineDisplay, IInspectable const&> const& handler) const;
public event TypedEventHandler<ClaimedLineDisplay,object> ReleaseDeviceRequested;
function onReleaseDeviceRequested(eventArgs) { /* Your code */ }
claimedLineDisplay.addEventListener("releasedevicerequested", onReleaseDeviceRequested);
claimedLineDisplay.removeEventListener("releasedevicerequested", onReleaseDeviceRequested);
- or -
claimedLineDisplay.onreleasedevicerequested = onReleaseDeviceRequested;
Public Custom Event ReleaseDeviceRequested As TypedEventHandler(Of ClaimedLineDisplay, Object)
Event Type
TypedEventHandler<ClaimedLineDisplay,IInspectable>