Share via


AVModality class

Defines the audio/video modality and handles both audio and video calls using the AudioChannel and VideoChannel properties.

Inheritance hierarchy

System.Object
  System.MarshalByRefObject
    UCWBase
      UCWFull
        Microsoft.Lync.Model.Conversation.Modality
          Microsoft.Lync.Model.Conversation.AudioVideo.AVModality

Namespace:  Microsoft.Lync.Model.Conversation.AudioVideo
Assembly:  Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)

Syntax

'Declaration
Public Class AVModality _
    Inherits Modality
'Usage
Dim instance As AVModality
public class AVModality : Modality

Remarks

When the AVModality is connected, the default channel is audio. Starting the video channel will cause the audio channel to start if the modality is disconnected. If the AV call is rejected with a reject reason of ReplyOther, the parent Conversation object is removed and the ConversationManager.ConversationRemoved event is raised.

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.

See also

Reference

AVModality members

Microsoft.Lync.Model.Conversation.AudioVideo namespace