MediaStreamDirection Enumeration
Enumerates the media stream directions.
Namespace: Microsoft.Lync.Model.Conversation.AudioVideo
Assembly: Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)
Syntax
'Declaration
Public Enumeration MediaStreamDirection
'Usage
Dim instance As MediaStreamDirection
public enum MediaStreamDirection
Members
Member name | Description | |
---|---|---|
None | Media stream direction is unknown. | |
Send | Media stream is outbound. | |
Receive | Media stream is inbound. | |
Invalid |
Remarks
Do not use this property to determine if a conversation is inbound or started locally. Instead, iterate on the conversation modalities collection and examine the Modality.State property of the InstantMessageModality. If the state of the modality is ModalityState.Notified, then the conversation is inbound.