AVModality Class

Definition

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

C#
public class AVModality : Microsoft.Lync.Model.Conversation.Modality
Inheritance

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.

Properties

AudioChannel

Gets the audio channel.

Conversation

Gets the associated conversation object.

(Inherited from Modality)
Endpoint

Gets the collaboration endpoint that is used by the modality.

(Inherited from Modality)
InnerObject (Inherited from UCWBase)
Participant

Gets the associated participant object.

(Inherited from Modality)
Properties

Gets a collection of modality properties.

(Inherited from Modality)
State

Gets the modality state.

(Inherited from Modality)
VideoChannel

Gets the normal video channel.

Methods

Accept()

Accept an offer for the modality.

(Inherited from Modality)
BeginConnect(AsyncCallback, Object)

Activates a conversation modality by connecting the modality to its associated local and remote endpoints.

(Inherited from Modality)
BeginConsultativeTransfer(Conversation, TransferOptions, AsyncCallback, Object)

Transfers a connected modality to an existing conversation.

(Inherited from Modality)
BeginDisconnect(ModalityDisconnectReason, AsyncCallback, Object)

Disconnects from the modality.

(Inherited from Modality)
BeginForward(Contact, AsyncCallback, Object)

Forwards an active conversation (in ringing state) to a specified remote contact endpoint. You cannot forward conversations between the local contacts endpoints.

(Inherited from Modality)
BeginForward(ContactEndpoint, AsyncCallback, Object)

Forwards an active conversation to a specified remote contact endpoint. You cannot forward conversations between the local contacts endpoints.

(Inherited from Modality)
BeginHold(AsyncCallback, Object)

Places the modality on hold.

(Inherited from Modality)
BeginRetrieve(AsyncCallback, Object)

Retrieves a held modality.

(Inherited from Modality)
BeginSetProperty(ModalityProperty, Object, AsyncCallback, Object)

Sets a property associated with this modality.

(Inherited from Modality)
BeginTransfer(Contact, TransferOptions, AsyncCallback, Object)

Transfers an active conversation to a specified remote contact.

(Inherited from Modality)
BeginTransfer(ContactEndpoint, TransferOptions, AsyncCallback, Object)

Transfer an active conversation to a specified remote contact endpoint. You cannot transfer a conversation to another local contact endpoint.

(Inherited from Modality)
CanInvoke(ModalityAction)

Returns a flag indicating whether a specific action is available.

(Inherited from Modality)
CanSetProperty(ModalityProperty)

Test whether the property can be set to the modality.

(Inherited from Modality)
EndConnect(IAsyncResult)

Connects to the modality.

(Inherited from Modality)
EndConsultativeTransfer(ModalityState, IList<String>, IAsyncResult)

Transfers a connected modality to an existing conversation.

(Inherited from Modality)
EndDisconnect(IAsyncResult)

Disconnects from the modality.

(Inherited from Modality)
EndForward(IAsyncResult)

Forwards a connecting incoming modality to a different location.

(Inherited from Modality)
EndHold(IAsyncResult)

Places the modality on hold.

(Inherited from Modality)
EndRetrieve(IAsyncResult)

Retrieves a held modality.

(Inherited from Modality)
EndSetProperty(IAsyncResult)

Sets a property associated with this modality.

(Inherited from Modality)
EndTransfer(ModalityState, IList<String>, IAsyncResult)

Transfers a connected modality to a different location.

(Inherited from Modality)
Finalize()
Reject(ModalityDisconnectReason)

Reject an offer for the modality.

(Inherited from Modality)

Events

ActionAvailabilityChanged

Raised when an action availability changes.

(Inherited from Modality)
AVModalityPropertyChanged

Raised when a property value changes

IsContributingChanged

Raised when the contributing state changes.

ModalityStateChanged

Raised when modality state changes

(Inherited from Modality)
StreamStateChanged

Raised when the stream state changes.

Applies to

Proizvod Verzije
Lync client latest