Freigeben über


AppCaptureState.MicrophoneCaptureStateChanged Ereignis

Definition

Tritt auf, wenn sich der Status der Mikrofonerfassung für die App-Aufzeichnung ändert.

// 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) 

Ereignistyp

Windows-Anforderungen

App-Funktionen
appCaptureSettings

Gilt für: