Share via


SysHolographicWindowingEnvironment.IsProtectedContentPresentChanged Event

Definition

The event that is raised when protected content becomes present or not present.

Important

This API is available only to components of the Windows operating system. Calls to these APIs will fail at runtime for all other processes. These APIs may be modified or removed in future Windows releases.

// 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) 

Event Type

Applies to