다음을 통해 공유


AppCaptureState.MicrophoneCaptureStateChanged 이벤트

정의

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

// Register
event_token MicrophoneCaptureStateChanged(TypedEventHandler<AppCaptureState, AppCaptureMicrophoneCaptureStateChangedEventArgs const&> const& handler) const;

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

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

이벤트 유형

Windows 요구 사항

앱 기능
appCaptureSettings

적용 대상