Compartir a través de


AppCaptureState.MicrophoneCaptureStateChanged Evento

Definición

Se produce cuando cambia el estado de la captura de micrófono para la captura de la aplicación.

// 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 de Windows

Características de aplicaciones
appCaptureSettings

Se aplica a