AudioDevice class
Represents an audio device connected to a local computer.
Inheritance hierarchy
System.Object
System.MarshalByRefObject
UCWBase
UCWFull
Microsoft.Lync.Model.Device.Device
Microsoft.Lync.Model.Device.AudioDevice
Namespace: Microsoft.Lync.Model.Device
Assembly: Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)
Syntax
'Declaration
Public Class AudioDevice _
Inherits Device
'Usage
Dim instance As AudioDevice
public class AudioDevice : Device
Remarks
The Device.IsActive property returns true when the audio device will be used in the next conversation that is started. In addition, setting this property to true while a call is active causes this audio device to be used during the active call. After the call ends, the original audio device is used for future calls. In order to be sure the desired audio device is used for future calls, you must set the IsActive property to true when no calls are active.
Thread safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.