HdcpSession.ProtectionChanged Kejadian
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Diaktifkan saat tingkat perlindungan instans HdcpSession berubah.
// 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)
Jenis Acara
TypedEventHandler<HdcpSession,IInspectable>
Keterangan
Untuk contoh penggunaan peristiwa ini, lihat HdcpSession.