Freigeben über


AppBroadcastState.MicrophoneCaptureStateChanged Ereignis

Definition

Tritt auf, wenn sich der Mikrofonaufnahmezustand ändert.

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

Ereignistyp

Windows-Anforderungen

App-Funktionen
appBroadcast appBroadcastSettings

Gilt für: