Compartilhar via


AppCaptureState.MicrophoneCaptureStateChanged Evento

Definição

Ocorre quando o estado da captura de microfone para captura de aplicativo é alterado.

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

Tipo de evento

Requisitos do Windows

Funcionalidades do aplicativo
appCaptureSettings

Aplica-se a