Compartilhar via


AppBroadcastState.MicrophoneCaptureStateChanged Evento

Definição

Ocorre quando o estado de captura do microfone é alterado.

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

Tipo de evento

Requisitos do Windows

Funcionalidades do aplicativo
appBroadcast appBroadcastSettings

Aplica-se a