Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MediaStreamDirection enumeration

Lync 2013

Enumerates the media stream directions.

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

public enum MediaStreamDirection

Member nameDescription
NoneMedia stream direction is unknown.
SendMedia stream is outbound.
ReceiveMedia stream is inbound.

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.

© 2015 Microsoft