다음을 통해 공유


AppBroadcastState.MicrophoneCaptureStateChanged 이벤트

정의

마이크 캡처 상태가 변경되면 발생합니다.

// Register
event_token MicrophoneCaptureStateChanged(TypedEventHandler<AppBroadcastState, AppBroadcastMicrophoneCaptureStateChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
AppBroadcastState::MicrophoneCaptureStateChanged_revoker MicrophoneCaptureStateChanged(auto_revoke_t, TypedEventHandler<AppBroadcastState, AppBroadcastMicrophoneCaptureStateChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<AppBroadcastState,AppBroadcastMicrophoneCaptureStateChangedEventArgs> MicrophoneCaptureStateChanged;
function onMicrophoneCaptureStateChanged(eventArgs) { /* Your code */ }
appBroadcastState.addEventListener("microphonecapturestatechanged", onMicrophoneCaptureStateChanged);
appBroadcastState.removeEventListener("microphonecapturestatechanged", onMicrophoneCaptureStateChanged);
- or -
appBroadcastState.onmicrophonecapturestatechanged = onMicrophoneCaptureStateChanged;
Public Custom Event MicrophoneCaptureStateChanged As TypedEventHandler(Of AppBroadcastState, AppBroadcastMicrophoneCaptureStateChangedEventArgs) 

이벤트 유형

Windows 요구 사항

앱 기능
appBroadcast appBroadcastSettings

적용 대상