다음을 통해 공유


AppBroadcastPreview.PreviewStateChanged 이벤트

정의

앱 브로드캐스트 미리 보기의 상태가 변경되면 발생합니다.

// Register
event_token PreviewStateChanged(TypedEventHandler<AppBroadcastPreview, AppBroadcastPreviewStateChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
AppBroadcastPreview::PreviewStateChanged_revoker PreviewStateChanged(auto_revoke_t, TypedEventHandler<AppBroadcastPreview, AppBroadcastPreviewStateChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<AppBroadcastPreview,AppBroadcastPreviewStateChangedEventArgs> PreviewStateChanged;
function onPreviewStateChanged(eventArgs) { /* Your code */ }
appBroadcastPreview.addEventListener("previewstatechanged", onPreviewStateChanged);
appBroadcastPreview.removeEventListener("previewstatechanged", onPreviewStateChanged);
- or -
appBroadcastPreview.onpreviewstatechanged = onPreviewStateChanged;
Public Custom Event PreviewStateChanged As TypedEventHandler(Of AppBroadcastPreview, AppBroadcastPreviewStateChangedEventArgs) 

이벤트 유형

Windows 요구 사항

앱 기능
appBroadcast appBroadcastSettings

적용 대상