HdcpSession.ProtectionChanged イベント
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
HdcpSession インスタンスの保護レベルが変更されたときに発生します。
// Register
event_token ProtectionChanged(TypedEventHandler<HdcpSession, IInspectable const&> const& handler) const;
// Revoke with event_token
void ProtectionChanged(event_token const* cookie) const;
// Revoke with event_revoker
HdcpSession::ProtectionChanged_revoker ProtectionChanged(auto_revoke_t, TypedEventHandler<HdcpSession, IInspectable const&> const& handler) const;
public event TypedEventHandler<HdcpSession,object> ProtectionChanged;
function onProtectionChanged(eventArgs) { /* Your code */ }
hdcpSession.addEventListener("protectionchanged", onProtectionChanged);
hdcpSession.removeEventListener("protectionchanged", onProtectionChanged);
- or -
hdcpSession.onprotectionchanged = onProtectionChanged;
Public Custom Event ProtectionChanged As TypedEventHandler(Of HdcpSession, Object)
イベントの種類
TypedEventHandler<HdcpSession,IInspectable>
注釈
このイベントの使用例については、「 HdcpSession」を参照してください。