PreviewTeamView.IsScreenSharingChanged 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指出系統是否正在顯示幕幕共用框線。
// 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)
事件類型
TypedEventHandler<PreviewTeamView,IInspectable>
備註
若要確認螢幕共用的目前狀態,請檢查 IsScreenSharing 屬性。