Share via


PreviewTeamView.IsScreenSharingChanged Event

Definition

Indicates whether or not a system is displaying a screen sharing border.

// Register
event_token IsScreenSharingChanged(TypedEventHandler<PreviewTeamView, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
PreviewTeamView::IsScreenSharingChanged_revoker IsScreenSharingChanged(auto_revoke_t, TypedEventHandler<PreviewTeamView, IInspectable const&> const& handler) const;
public event TypedEventHandler<PreviewTeamView,object> IsScreenSharingChanged;
function onIsScreenSharingChanged(eventArgs) { /* Your code */ }
previewTeamView.addEventListener("isscreensharingchanged", onIsScreenSharingChanged);
previewTeamView.removeEventListener("isscreensharingchanged", onIsScreenSharingChanged);
- or -
previewTeamView.onisscreensharingchanged = onIsScreenSharingChanged;
Public Custom Event IsScreenSharingChanged As TypedEventHandler(Of PreviewTeamView, Object) 

Event Type

Remarks

To verify the current state of the screen sharing, check the IsScreenSharing property.

Applies to