Share via


ClaimedLineDisplay.ReleaseDeviceRequested Event

Definition

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

Applies to