다음을 통해 공유


AppBroadcastState.PlugInStateChanged 이벤트

정의

앱 브로드캐스트 상태와 연결된 플러그 인의 상태가 변경될 때 발생합니다.

// Register
event_token PlugInStateChanged(TypedEventHandler<AppBroadcastState, AppBroadcastPlugInStateChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
AppBroadcastState::PlugInStateChanged_revoker PlugInStateChanged(auto_revoke_t, TypedEventHandler<AppBroadcastState, AppBroadcastPlugInStateChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<AppBroadcastState,AppBroadcastPlugInStateChangedEventArgs> PlugInStateChanged;
function onPlugInStateChanged(eventArgs) { /* Your code */ }
appBroadcastState.addEventListener("pluginstatechanged", onPlugInStateChanged);
appBroadcastState.removeEventListener("pluginstatechanged", onPlugInStateChanged);
- or -
appBroadcastState.onpluginstatechanged = onPlugInStateChanged;
Public Custom Event PlugInStateChanged As TypedEventHandler(Of AppBroadcastState, AppBroadcastPlugInStateChangedEventArgs) 

이벤트 유형

Windows 요구 사항

앱 기능
appBroadcast appBroadcastSettings

적용 대상