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. More... |
Protected Member Functions | |
virtual void | Dispose (bool disposing) |
Events | |
EventHandler< InputAudioDeviceEventArgs > | InputDeviceAdded |
Sent when a new audio input device is detected by the system. More... | |
EventHandler< OutputAudioDeviceEventArgs > | OutputDeviceAdded |
Sent when a new audio output device is detected by the system. More... | |
EventHandler< InputAudioDeviceEventArgs > | InputDeviceRemoved |
Sent when an audio input device is removed from the system. More... | |
EventHandler< OutputAudioDeviceEventArgs > | OutputDeviceRemoved |
Sent when an audio output device is removed from the system. More... | |
EventHandler< InputAudioDeviceEventArgs > | DefaultInputDeviceChanged |
Sent when the default audio input device changes at the system level. More... | |
EventHandler< OutputAudioDeviceEventArgs > | DefaultOutputDeviceChanged |
Sent when the default audio output device changes at the system level. More... |
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.
OpenTok.AudioDevice.Notifications.Notifications | ( | IDispatcher | dispatcher | ) |
Builds an AudioDevice.Notifications object using the provided dispatcher.
dispatcher | The IDispatcher used to queue received events. |
void OpenTok.AudioDevice.Notifications.Dispose | ( | ) |
Disposes the AudioDevice.Notifications
instance.
EventHandler<InputAudioDeviceEventArgs> OpenTok.AudioDevice.Notifications.DefaultInputDeviceChanged |
Sent when the default audio input device changes at the system level.
EventHandler<OutputAudioDeviceEventArgs> OpenTok.AudioDevice.Notifications.DefaultOutputDeviceChanged |
Sent when the default audio output device changes at the system level.
EventHandler<InputAudioDeviceEventArgs> OpenTok.AudioDevice.Notifications.InputDeviceAdded |
Sent when a new audio input device is detected by the system.
EventHandler<InputAudioDeviceEventArgs> OpenTok.AudioDevice.Notifications.InputDeviceRemoved |
Sent when an audio input device is removed from the system.
EventHandler<OutputAudioDeviceEventArgs> OpenTok.AudioDevice.Notifications.OutputDeviceAdded |
Sent when a new audio output device is detected by the system.
EventHandler<OutputAudioDeviceEventArgs> OpenTok.AudioDevice.Notifications.OutputDeviceRemoved |
Sent when an audio output device is removed from the system.