Поделиться через


AppBroadcastState.MicrophoneCaptureStateChanged Событие

Определение

Происходит при изменении состояния захвата микрофона.

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

Тип события

Требования к Windows

Возможности приложения
appBroadcast appBroadcastSettings

Применяется к