Compartilhar via


SysHolographicWindowingEnvironment.IsProtectedContentPresentChanged Evento

Definição

O evento gerado quando o conteúdo protegido se torna presente ou não está presente.

Importante

Essa API está disponível apenas para componentes do sistema operacional Windows. As chamadas para essas APIs falharão em runtime para todos os outros processos. Essas APIs podem ser modificadas ou removidas em versões futuras do Windows.

// Register
event_token IsProtectedContentPresentChanged(TypedEventHandler<SysHolographicWindowingEnvironment, IInspectable const&> const& handler) const;

// Revoke with event_token
void IsProtectedContentPresentChanged(event_token const* cookie) const;

// Revoke with event_revoker
SysHolographicWindowingEnvironment::IsProtectedContentPresentChanged_revoker IsProtectedContentPresentChanged(auto_revoke_t, TypedEventHandler<SysHolographicWindowingEnvironment, IInspectable const&> const& handler) const;
public event TypedEventHandler<SysHolographicWindowingEnvironment,object> IsProtectedContentPresentChanged;
function onIsProtectedContentPresentChanged(eventArgs) { /* Your code */ }
sysHolographicWindowingEnvironment.addEventListener("isprotectedcontentpresentchanged", onIsProtectedContentPresentChanged);
sysHolographicWindowingEnvironment.removeEventListener("isprotectedcontentpresentchanged", onIsProtectedContentPresentChanged);
- or -
sysHolographicWindowingEnvironment.onisprotectedcontentpresentchanged = onIsProtectedContentPresentChanged;
Public Custom Event IsProtectedContentPresentChanged As TypedEventHandler(Of SysHolographicWindowingEnvironment, Object) 

Tipo de evento

Aplica-se a