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


AudioDeviceModulesManager.ModuleNotificationReceived Событие

Определение

Происходит при изменении в одном из модулей звукового устройства, связанного со звуковым устройством, для которого был инициализирован AudioDeviceModulesManager .

// Register
event_token ModuleNotificationReceived(TypedEventHandler<AudioDeviceModulesManager, AudioDeviceModuleNotificationEventArgs const&> const& handler) const;

// Revoke with event_token
void ModuleNotificationReceived(event_token const* cookie) const;

// Revoke with event_revoker
AudioDeviceModulesManager::ModuleNotificationReceived_revoker ModuleNotificationReceived(auto_revoke_t, TypedEventHandler<AudioDeviceModulesManager, AudioDeviceModuleNotificationEventArgs const&> const& handler) const;
public event TypedEventHandler<AudioDeviceModulesManager,AudioDeviceModuleNotificationEventArgs> ModuleNotificationReceived;
function onModuleNotificationReceived(eventArgs) { /* Your code */ }
audioDeviceModulesManager.addEventListener("modulenotificationreceived", onModuleNotificationReceived);
audioDeviceModulesManager.removeEventListener("modulenotificationreceived", onModuleNotificationReceived);
- or -
audioDeviceModulesManager.onmodulenotificationreceived = onModuleNotificationReceived;
Public Custom Event ModuleNotificationReceived As TypedEventHandler(Of AudioDeviceModulesManager, AudioDeviceModuleNotificationEventArgs) 

Тип события

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