Vonage Video API Windows SDK
Classes | Public Member Functions | Protected Member Functions | Events | List of all members
OpenTok.AudioDevice.Notifications Class Reference

Represents a subscription to system audio device notifications. This object sends events when a system input or output audio device is added or removed, and when the default system input or output audio device changes. This instance can be disposed when no longer used to release unmanaged resources. More...

Inherits IDisposable.

Classes

class  InputAudioDeviceEventArgs
 Contains the arguments for audio input device events. More...
 
class  OutputAudioDeviceEventArgs
 Contains the arguments for audio output device events. More...
 

Public Member Functions

 Notifications (IDispatcher dispatcher)
 Builds an AudioDevice.Notifications object using the provided dispatcher. More...
 
void Dispose ()
 Disposes the AudioDevice.Notifications instance.
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Events

EventHandler< InputAudioDeviceEventArgs > InputDeviceAdded
 Sent when a new audio input device is detected by the system.
 
EventHandler< OutputAudioDeviceEventArgs > OutputDeviceAdded
 Sent when a new audio output device is detected by the system.
 
EventHandler< InputAudioDeviceEventArgs > InputDeviceRemoved
 Sent when an audio input device is removed from the system.
 
EventHandler< OutputAudioDeviceEventArgs > OutputDeviceRemoved
 Sent when an audio output device is removed from the system.
 
EventHandler< InputAudioDeviceEventArgs > DefaultInputDeviceChanged
 Sent when the default audio input device changes at the system level.
 
EventHandler< OutputAudioDeviceEventArgs > DefaultOutputDeviceChanged
 Sent when the default audio output device changes at the system level.
 

Detailed Description

Represents a subscription to system audio device notifications. This object sends events when a system input or output audio device is added or removed, and when the default system input or output audio device changes. This instance can be disposed when no longer used to release unmanaged resources.

Constructor & Destructor Documentation

◆ Notifications()

OpenTok.AudioDevice.Notifications.Notifications ( IDispatcher  dispatcher)

Builds an AudioDevice.Notifications object using the provided dispatcher.

Parameters
dispatcherThe IDispatcher used to queue received events.